Browse Source

屏蔽 micro

master
巴林闲侠 2 years ago
parent
commit
0894325751
  1. 5
      code/web/client/src/app.jsx
  2. 4
      code/web/client/src/public-path.js

5
code/web/client/src/app.jsx

@ -15,7 +15,10 @@ const App = props => {
return (
<Layout
title={projectName}
sections={[Auth, MicroApp]}
sections={[
Auth,
// MicroApp
]}
/>
)
}

4
code/web/client/src/public-path.js

@ -2,4 +2,6 @@
if (window.__MICRO_APP_ENVIRONMENT__) {
// eslint-disable-next-line
__webpack_public_path__ = window.__MICRO_APP_PUBLIC_PATH__
}
} else {
__webpack_public_path__ = '/'
}
Loading…
Cancel
Save