巴林闲侠
2 years ago
2 changed files with 9 additions and 4 deletions
@ -1,5 +1,7 @@ |
|||||
// __MICRO_APP_ENVIRONMENT__和__MICRO_APP_PUBLIC_PATH__是由micro-app注入的全局变量
|
// __MICRO_APP_ENVIRONMENT__和__MICRO_APP_PUBLIC_PATH__是由micro-app注入的全局变量
|
||||
if (window.__MICRO_APP_ENVIRONMENT__) { |
if (window.__MICRO_APP_ENVIRONMENT__) { |
||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||
__webpack_public_path__ = window.__MICRO_APP_PUBLIC_PATH__ |
__webpack_public_path__ = window.__MICRO_APP_PUBLIC_PATH__ |
||||
} |
} else { |
||||
|
__webpack_public_path__ = '/' |
||||
|
} |
Loading…
Reference in new issue