<view :class="'spceial cu-modal ' + (!curPrizeShow.hide ? 'show' : '')" @touchmove.stop.prevent="preventTouchMove">
...
methods: {
preventTouchMove(event) {
event.preventDefault()
},
}
vue @touchmove.prevent 阻止苹果手机透过modal层触发底层滚动
最新推荐文章于 2024-05-21 16:18:08 发布