在做下拉刷新时候遇到控制台报错
Unable to preventDefault inside passive event listener due to target being treated as passive.
解决方法:使用css属性
html{
touch-action: none;
}
在做下拉刷新时候遇到控制台报错
Unable to preventDefault inside passive event listener due to target being treated as passive.
解决方法:使用css属性
html{
touch-action: none;
}