coderja
coderja
## 复现步骤,错误日志以及相关配置 主应用域名localhost:3000 子应用域名localhost:3001 主子应用均采用vue-admin-template构建项目,会同时加载路由与菜单,路由是动态路由从服务器获取。 主应用有两个按钮: 父按钮、子按钮 。点击子按钮跳到子应用后,再点击主应用上面的父按钮跳回父应用(用的是this.$router.push())报如下错误 但是使用location.href可以跳转成功 报错信息:  vue-router.esm.js?8c4f:2079 ChunkLoadError: Loading chunk 66 failed. (missing: http://localhost:3001/js/66.js) at Function.requireEnsure [as e] (app.js:952) at fn.e (app.js:187) at Array.map ()...
TypeError: buffer is not a constructor at _encode (base64.js:96:24) at Object.encode (base64.js:102:30) at login (loginAPI.js?t=1671159346988:5:24) at user.js?t=1671159346988:87:11 at new Promise () at Store2.Login (user.js?t=1671159346988:85:14) at Array.wrappedActionHandler (vuex.esm.js:747:23) at Store2.dispatch (vuex.esm.js:438:13)...