mintUI vue vue-cli

使用mint-ui 如果滑动过快的话会报Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.错误

解决方法

在网页中f12或者是在控制台查看错误位置,在到文件中找到报错位置在它的if判断位置添加一个判断条件event.cancelable(或者是e.cancelable,根据if判断里面的event.preventDefault();event.stopPropagation();来)

mintUI vue vue-cli

我的报错位置是在mint-ui.common.js文件里面,这个文件路径是node_modules - mint-ui - lib