uniapp 遮罩块滚动导致底下的页面滚动

在需要滚动的模块添加

@touchmove.stop.prevent="clear"
……
clear(){
      return
}

<view class="sortMethod" @touchmove.stop.prevent="clear">

可以阻止下个层级的模块滚动

posted @ 2020-11-18 10:53  梦娜丽莎  阅读(1499)  评论(0)    收藏  举报