Cyruschen
Cyruschen
  • 发布:2018-11-13 17:48
  • 更新:2018-11-13 17:48
  • 阅读:1122

【报Bug】offcanvas-drag-left.html 点击菜单js报错

分类:MUI

使用vue用webpack 打包生成后,点击菜单图标能够正常滑动显示,点击关闭按钮无效。左右滑动显示关闭菜单,正常无错误。
==============================================================================
滑动正常
==============================================================================
点击菜单图标报错
Uncaught TypeError: Cannot read property 'toggle' of undefined
at eval (webpack-internal:///./static/mui/dist/js/mui.js:5987:40)
at Function.$.trigger (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:301:11)
at Object.handle (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:1728:8)
at Object.eval (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:1272:14)
at eval (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:269:21)
at Array.every (native)
at Function.$.each (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:268:13)
at Function.$.doAction (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:389:6)
at detect (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:1269:5)
at handleTouchEvent (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:1535:3)
(anonymous) @ mui.js?3432:5986
$.trigger @ mui.js?57f5:301
handle @ mui.js?57f5:1727
(anonymous) @ mui.js?57f5:1271
(anonymous) @ mui.js?57f5:269
$.each @ mui.js?57f5:268
$.doAction @ mui.js?57f5:389
detect @ mui.js?57f5:1268
handleTouchEvent @ mui.js?57f5:1534
mui.js?3432:5986 Uncaught TypeError: Cannot read property 'toggle' of undefined
at eval (webpack-internal:///./static/mui/dist/js/mui.js:5987:40)
at Function.$.trigger (webpack-internal:///./static/mui/dist/js/mui.js:301:11)
at Object.handle (webpack-internal:///./static/mui/dist/js/mui.js:1728:8)
at Object.eval (webpack-internal:///./static/mui/dist/js/mui.js:1272:14)
at eval (webpack-internal:///./static/mui/dist/js/mui.js:269:21)
at Array.every (native)
at Function.$.each (webpack-internal:///./static/mui/dist/js/mui.js:268:13)
at Function.$.doAction (webpack-internal:///./static/mui/dist/js/mui.js:389:6)
at detect (webpack-internal:///./static/mui/dist/js/mui.js:1269:5)
at handleTouchEvent (webpack-internal:///./static/mui/dist/js/mui.js:1535:3)
==========================================================================
点击非菜单区域,关闭报错

mui.js?57f5:5897 Uncaught TypeError: Cannot read property 'offsetWidth' of null
at Class.close (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:5898:40)
at HTMLDivElement.eval (webpack-internal:///./node_modules/vue-awesome-mui/mui/dist/js/mui.js:5729:11)
at Function.$.trigger (webpack-internal:///./static/mui/dist/js/mui.js:301:11)
at Object.handle (webpack-internal:///./static/mui/dist/js/mui.js:1728:8)
at Object.eval (webpack-internal:///./static/mui/dist/js/mui.js:1272:14)
at eval (webpack-internal:///./static/mui/dist/js/mui.js:269:21)
at Array.every (native)
at Function.$.each (webpack-internal:///./static/mui/dist/js/mui.js:268:13)
at Function.$.doAction (webpack-internal:///./static/mui/dist/js/mui.js:389:6)
at detect (webpack-internal:///./static/mui/dist/js/mui.js:1269:5)

QQ:362877672

2018-11-13 17:48 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复