Arguments callee Exception appears in the vue project packaged by webpack

there is a problem when doing lazy loading of vue-router. Go to the code first.

clipboard.png

Chrome Debug

clipboard.png

detailed error messages are as follows:
Exception: TypeError: "caller"," callee", And "arguments" properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.remoteFunction (: 2:14) at eval (webpack-internal:/./src/utils/asyncRouter.js:18:14) at Array.forEach () at generaMenu (webpack-internal:/./src/utils/asyncRouter.js:13:8) at _ webpack_exports__.a (webpack-internal:/./src/utils/asyncRouter.js:10:3) at Eval vue39vue 84) at

(webpack.com typewritten scriptparts scriptwritten indexation index.leadssrcUniverse

) LBR (webpackages.apnodeparts modules.babelwayloader.webpackwayloader.According nodeparts modulesAccording to Vue _ index.jsloader _ lbselector.jspacking typewritten scriptwriting index.leadsrcUnitesUniverse Login.vue39vue _ 84)

Mar.18,2021
The

log makes it clear that the use of 'caller',' callee', and 'arguments' is prohibited in strict mode. Check to see if these things are written in your code.

Menu