vue项目中使用mint-ui Loadmore组件报错解决方案: Ignored attempt to cancel a touchmove event with cancelable=false

版权声明:本文为博主原创文章,遵循 CC 4.0 BY 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/u012149969/article/details/100181990

报错内容如下:
[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

上面的内容虽然不会影响到项目的运行效果,但看着飘一串红字总是稍有一些不爽,所以解决它!

1、找到报错位置

2、打开文件:/node_modules/[email protected]@mint-ui/lib/mint-ui.common.js

3、在步骤1找到的位置处添加event.cancelable判断,判断是否取消了关联的默认动作


—————END—————
喜欢本文的朋友们,欢迎关注公众号 张培跃,收看更多精彩内容!!!公众号回复 电子书 ,送你经典电子书籍!
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/u012149969/article/details/100181990
今日推荐