发布于 4年前

vue 移动端 上拉加载报错 cancelable=false

1-报错
mint-ui.common.js?02ef:3046 [Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

2-只需要在需要滚动的页面添加样式即可 touch-action: none;

完整的:
.coa-box {
overflow: scroll;
-webkit-overflow-scrolling: touch;
touch-action: none;
}

©2020 edoou.com   京ICP备16001874号-3