Closed Yinengmr closed 4 years ago
system.min.js:4 GET http://127.0.0.1:8080/static/navbar/js/app.js net::ERR_CONNECTION_REFUSED (anonymous) @ system.min.js:4 h.instantiate @ system.min.js:4 h.instantiate @ system.min.js:4 t.instantiate @ named-register.min.js:1 (anonymous) @ system.min.js:4 Promise.then (async) t @ system.min.js:4 (anonymous) @ system.min.js:4 Promise.then (async) h.import @ system.min.js:4 e.import @ system.min.js:4 t.import @ use-default.min.js:1 singleSpa.registerApplication.eventBus.eventBus @ dashboard:123 (anonymous) @ load.js:18 Promise.then (async) (anonymous) @ load.js:17 Promise.then (async) tt @ load.js:8 (anonymous) @ reroute.js:40 Promise.then (async) Ct @ reroute.js:39 Tt @ apps.js:73 (anonymous) @ dashboard:121 Promise.then (async) (anonymous) @ dashboard:103 (anonymous) @ dashboard:150 system.min.js:4 GET http://127.0.0.1:8080/static/dashboard/js/app.js net::ERR_CONNECTION_REFUSED (anonymous) @ system.min.js:4 h.instantiate @ system.min.js:4 h.instantiate @ system.min.js:4 t.instantiate @ named-register.min.js:1 (anonymous) @ system.min.js:4 Promise.then (async) t @ system.min.js:4 (anonymous) @ system.min.js:4 Promise.then (async) h.import @ system.min.js:4 e.import @ system.min.js:4 t.import @ use-default.min.js:1 (anonymous) @ dashboard:135 (anonymous) @ load.js:18 Promise.then (async) (anonymous) @ load.js:17 Promise.then (async) tt @ load.js:8 (anonymous) @ reroute.js:40 Promise.then (async) Ct @ reroute.js:39 Tt @ apps.js:73 (anonymous) @ dashboard:121 Promise.then (async) (anonymous) @ dashboard:103 (anonymous) @ dashboard:150 app-errors.js:9 Uncaught navbar: Application 'navbar' died in status LOADING_SOURCE_CODE: Error loading http://127.0.0.1:8080/static/navbar/js/app.js at HTMLScriptElement.<anonymous> (http://dfstyle.top/static/plugins/systemjs/4.1.0/system.min.js:4:4496) (anonymous) @ system.min.js:4 setTimeout (async) s @ app-errors.js:9 (anonymous) @ load.js:66 Promise.catch (async) (anonymous) @ load.js:65 Promise.then (async) tt @ load.js:8 (anonymous) @ reroute.js:40 Promise.then (async) Ct @ reroute.js:39 Tt @ apps.js:73 (anonymous) @ dashboard:121 Promise.then (async) (anonymous) @ dashboard:103 (anonymous) @ dashboard:150 app-errors.js:9 Uncaught dashboard: Application 'dashboard' died in status LOADING_SOURCE_CODE: Error loading http://127.0.0.1:8080/static/dashboard/js/app.js at HTMLScriptElement.<anonymous> (http://dfstyle.top/static/plugins/systemjs/4.1.0/system.min.js:4:4496) (anonymous) @ system.min.js:4 setTimeout (async) s @ app-errors.js:9 (anonymous) @ load.js:66 Promise.catch (async) (anonymous) @ load.js:65 Promise.then (async) tt @ load.js:8 (anonymous) @ reroute.js:40 Promise.then (async) Ct @ reroute.js:39 Tt @ apps.js:73 (anonymous) @ dashboard:121 Promise.then (async) (anonymous) @ dashboard:103 (anonymous) @ dashboard:150 dashboard:1 Unchecked runtime.lastError: The message port closed before a response was received. The resource http://dfstyle.top/static/plugins/element-ui/2.11.1/index.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
请在 config/config.prod.js 中配置 server_path server_api 为你服务器的真实信息
server_path
server_api