mui
100个铜锣烧
一点一滴的积累,一步一脚印的成长。
展开
-
vue做mui项目中报错:[Intervention] Unable to preventDefault inside passive event listener due to target bei
首先说明一下:因为新版谷歌浏览器的问题,所以报错。历史:当浏览器首先对默认的事件进行响应的时候,要检查一下是否进行了默认事件的取消。这样就在响应滑动操作之前有那么一丝丝的耽误时间。现在:google就决定默认取消了对这个事件的检查,默认时间就取消了。直接执行滑动操作。这样就更加的顺滑了。解决方法全局样式中加一个解决方法添加下面的样式即可* {touch-action: none;}...原创 2020-04-26 18:17:57 · 1928 阅读 · 0 评论 -
关掉严格模式
关掉严格模式报错信息如下 :Uncaught TypeError: ‘caller’, ‘callee’, and ‘arguments’ properties may not be accessed on strict mode functions or the arguments objects for calls to themnpm安装解决问题:使用babel-plugin-tra...原创 2020-04-22 00:10:54 · 2543 阅读 · 0 评论 -
移动端使用MUI,显示路由高亮
在router 的index.js 中改造路由如下:var router = new VueRouter({ routes: [{ }], linkActiveClass: "mui-active"})原创 2020-04-20 10:30:12 · 236 阅读 · 0 评论