[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example becaus

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

解决方案:
使用css3

 touch-action: none;

touch-action :当你触摸并按住触摸目标时候,禁止或显示系统默认菜单。
touch-action取值有一下两种
none:系统默认菜单被禁用
default:系统默认菜单不被禁用

vue报错:[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See
解决方案

 touch-action:pan-y ;

你可能感兴趣的:(vue,vue全家桶,vue,前端框架,javascript,css3,es6)