标签:组件 rip hand 方法 pup 使用 methods script efault
1,使用mint-ui框架中<mt-popup></mt-popup>,在组件中加入 lockScroll="true" 阻止父页面不滑动。
2,原生弹框中,弹框页面中最外层div里面加(touchmove事件)@touchmove="handleTouchmove" 然后在methods方法里面加入
handleTouchmove (e) {
e.preventDefault()
},
阻止父页面不滑动
标签:组件 rip hand 方法 pup 使用 methods script efault
原文地址:https://www.cnblogs.com/xingxingzi/p/9262137.html