当前位置: 代码迷 >> 综合 >> mui 页面报错Unable to preventDefault inside passive
  详细解决方案

mui 页面报错Unable to preventDefault inside passive

热度:85   发布时间:2023-10-15 01:03:31.0

mui 页面报错Unable to preventDefault inside passive点击事件时出现:mui.min.js:8 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

解决方法:在样式文件中加入下面这行代码即可解决。

* { touch-action: none; }
  相关解决方案