发布时间:2022-09-29 10:35:59 点击数:598
报错:
Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
解决方案:
在uView包里面找到:components->u-dropdown->u-dropdown.vue。
修改组件:
<view class="u-dropdown" :style="dropDownShow ? '' :'overflow:hidden'"></view>
data(){
return{
dropDownShow:false
}
}
open(){
this.dropDownShow = true
}
close(){
this.dropDownShow = false
}