vue 移动端弹窗后禁止页面滚动 @touchmove.prevent
可以在遮罩层中添加 @touchmove.prevent 就可以实现禁止页面滚动
注意 弹窗里面有滚动条的也是无法滚动的
具体使用 父标签上添加 @touchmove.prevent
@touchmove.prevent>
ps:转载于https://www.cnblogs.com/lymconch/p/13925135.html
可以在遮罩层中添加 @touchmove.prevent 就可以实现禁止页面滚动
注意 弹窗里面有滚动条的也是无法滚动的
具体使用 父标签上添加 @touchmove.prevent
@touchmove.prevent>
ps:转载于https://www.cnblogs.com/lymconch/p/13925135.html