绑定手指触摸后移除事件
- 直接上代码
<!-- loading -->
<view class="loadingBg" @touchmove.stop.prevent="moveHandle" >
<view class="loading">
<van-loading type="spinner" color="#333333" />
</view>
</view>
moveHandle(e){
e.preventDefault();
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9