Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
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
Yulun Yao
multiSystem
Commits
6869437e
Commit
6869437e
authored
May 19, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化配置
parent
d1bf801d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
micSystemsList.js
src/router/micSystemsList.js
+1
-2
No files found.
src/router/micSystemsList.js
View file @
6869437e
...
@@ -6,7 +6,6 @@ function GetSystemList() {
...
@@ -6,7 +6,6 @@ function GetSystemList() {
let
prodSystemList
=
micSystemsList
.
prod
// 生产环境的子项目
let
prodSystemList
=
micSystemsList
.
prod
// 生产环境的子项目
let
districtName
//区局名称
let
districtName
//区局名称
let
env
=
process
.
env
.
NODE_ENV
//打包命令
let
env
=
process
.
env
.
NODE_ENV
//打包命令
let
url
=
window
.
location
.
origin
//当前访问的浏览器地址
// 1. 当打生产包的时候,
// 1. 当打生产包的时候,
if
(
env
.
indexOf
(
'-prod'
)
!=
-
1
)
{
if
(
env
.
indexOf
(
'-prod'
)
!=
-
1
)
{
...
@@ -15,7 +14,7 @@ function GetSystemList() {
...
@@ -15,7 +14,7 @@ function GetSystemList() {
// 3. 在生产环境的子项目list
// 3. 在生产环境的子项目list
prodSystemList
.
forEach
((
item
,
index
)
=>
{
prodSystemList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
districtName
==
districtName
||
item
.
districtName
==
'common'
)
{
if
(
item
.
districtName
==
districtName
||
item
.
districtName
==
'common'
)
{
prodSystemList
[
index
].
entry
=
url
+
item
.
entry
prodSystemList
[
index
].
entry
=
item
.
entry
system
.
push
(
item
)
system
.
push
(
item
)
}
}
})
})
...
...
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