微信小程序滑动穿透问题,使用catchtouchmove警告 handle event “touchmove“
·
<view
catchtouchmove // 使用catchtouchmove会产生警告
class="mask"
:style="{'z-index': zIndex}"></view>

<view
@touchmove.stop.prevent="clear"
class="mask"
:style="{'z-index': zIndex}">
</view>
clear(e) {
e.stopPropagation()
},
更多推荐

所有评论(0)