Commit d093dad9 authored by 邓晓峰's avatar 邓晓峰

feat: 添加父子应用状态通讯

parent 47261356
...@@ -4,14 +4,14 @@ export function genActiveRule(routerPrefix) { ...@@ -4,14 +4,14 @@ export function genActiveRule(routerPrefix) {
export default { export default {
dev: [ dev: [
{ {
name: 'civ_energy', name: 'civ_monitor',
entry: `//${window.location.hostname}:8081/civ_energy`, entry: `//${window.location.hostname}:8082/civ_monitor`,
container: '#micro-container', container: '#micro-container',
activeRule: '/civbase/civ_energy', activeRule: '/civbase/civ_monitor',
}, },
{ {
name: 'civ_water', name: 'civ_water',
entry: `//${window.location.hostname}:8082/civ_water`, entry: `//${window.location.hostname}:8083/civ_water`,
container: '#micro-container', container: '#micro-container',
activeRule: '/civbase/civ_water', activeRule: '/civbase/civ_water',
}, },
......
/* eslint-disable */ /* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin; // const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const proxyURL = 'http://192.168.19.105:8530'; const proxyURL = 'http://172.16.10.82:8090';
module.exports = { module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './', assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
dev: { dev: {
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment