解决 scroll-view 组件 [Intervention] 报错

[Intervention]Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted 解决报错

如下图,因为事件冒泡, scroll-view 组件的 touchmove 事件可以传递到模态框。

于是我给 scroll-view 取消冒泡 报错没了,问题成功解决。   

@touchmove.stop

posted @ 2024-03-23 10:23  蓦然JL  阅读(33)  评论(0编辑  收藏  举报
访问主页
关注我
关注微博
私信我
返回顶部