当前位置:Gxlcms > 数据库问题 > vue中引入mui报Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them的错误

vue中引入mui报Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them的错误

时间:2021-07-01 10:21:17 帮助过:4人阅读

技术图片

那是因为我们在用webpack打包项目时默认的是严格模式,我们把严格模式去掉就ok了

第一步:npm install babel-plugin-transform-remove-strict-mode

技术图片

第二步:在.bablerc文件中加入"plugins"["transform-remove-strict-mode"]

技术图片

到这里问题就完美解决了

 

vue中引入mui报Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them的错误

标签:sse   mui   erro   image   ini   info   com   orm   end   

人气教程排行