这是一个创建于 1390 天前的主题,其中的信息可能已经有所发展或是发生改变。
2 条回复 • 2020-09-05 10:25:26 +08:00
![DreamCMS](https://cdn.v2ex.com/avatar/5587/7f9a/104471_normal.png?m=1667522837) |
|
1
DreamCMS 2020-09-05 10:18:54 +08:00
在线等,求解~
|
![alphardex](https://cdn.v2ex.com/avatar/97d2/4647/254026_normal.png?m=1716278129) |
|
2
alphardex 2020-09-05 10:25:26 +08:00 1
之前也碰到过,直接禁止页面容器滑动就行了 ```js const disableTouchMove = () => { document.body.addEventListener('touchmove', e => { e.preventDefault() }, { passive: false }); } ```
|