Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
d093dad9
Commit
d093dad9
authored
Jun 22, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加父子应用状态通讯
parent
47261356
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
micor.js
config/micor.js
+4
-4
proxy.js
config/proxy.js
+1
-1
No file name available
+0
-0
No files found.
config/micor.js
View file @
d093dad9
...
@@ -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
}
:808
1/civ_energy
`
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
2/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
}
:808
2
/civ_water`
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
3
/civ_water`
,
container
:
'#micro-container'
,
container
:
'#micro-container'
,
activeRule
:
'/civbase/civ_water'
,
activeRule
:
'/civbase/civ_water'
,
},
},
...
...
config/proxy.js
View file @
d093dad9
/* 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://1
92.168.19.105:853
0'
;
const
proxyURL
=
'http://1
72.16.10.82:809
0'
;
module
.
exports
=
{
module
.
exports
=
{
assetsRoot
:
process
.
env
.
NODE_ENV
!==
'production'
?
proxyURL
:
'./'
,
assetsRoot
:
process
.
env
.
NODE_ENV
!==
'production'
?
proxyURL
:
'./'
,
dev
:
{
dev
:
{
...
...
View file @
d093dad9
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment