|
|
@@ -9,6 +9,7 @@ const microApps = [
|
|
|
},
|
|
|
{
|
|
|
name: 'page-main-data',
|
|
|
+ // entry: 'http://localhost:8081/main-data/',
|
|
|
entry: '/main-data/',
|
|
|
activeRule: '/page-main-data'
|
|
|
},
|
|
|
@@ -19,6 +20,7 @@ const microApps = [
|
|
|
},
|
|
|
{
|
|
|
name: 'eam',
|
|
|
+ // entry: 'http://localhost:8083/eam/',
|
|
|
entry: '/eam/',
|
|
|
activeRule: '/page-eam'
|
|
|
},
|
|
|
@@ -43,7 +45,6 @@ const microApps = [
|
|
|
{
|
|
|
name: 'eos',
|
|
|
entry: '/eos/',
|
|
|
- // entry: process.env.NODE_ENV == 'development'?'http://localhost:8081/eos/':'/eos/',
|
|
|
activeRule: '/page-eos'
|
|
|
},
|
|
|
|
|
|
@@ -61,6 +62,12 @@ const microApps = [
|
|
|
name: 'fm',
|
|
|
entry: '/fm/',
|
|
|
activeRule: '/page-fm'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'pcs',
|
|
|
+ // entry: 'http://localhost:8080/pcs/',
|
|
|
+ entry: '/pcs/',
|
|
|
+ activeRule: '/page-pcs'
|
|
|
}
|
|
|
];
|
|
|
|
|
|
@@ -70,7 +77,7 @@ const apps = microApps.map((item) => {
|
|
|
container: '#micro-container', // 子应用挂载的div
|
|
|
props: {
|
|
|
routerBase: item.activeRule, // 下发基础路由
|
|
|
- parentWindow: window,
|
|
|
+ parentWindow: window,
|
|
|
fileMain, //文档上传组件 下发给子应用
|
|
|
store
|
|
|
}
|