Browse Source

屏蔽 micro

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

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

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

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

@ -2,4 +2,6 @@
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…
Cancel
Save