使用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

相关文章:

  • 2021-05-30
  • 2021-07-04
  • 2022-12-23
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2021-09-18
  • 2021-11-24
相关资源
相似解决方案