Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
44c43bd8
Commit
44c43bd8
authored
Nov 25, 2020
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
600b1990
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
UrlPrefix.js
src/config/UrlPrefix.js
+2
-2
axios-plugin.ts
src/plugins/axios-plugin.ts
+3
-6
No files found.
src/config/UrlPrefix.js
View file @
44c43bd8
...
@@ -46,8 +46,8 @@ const configModules = {
...
@@ -46,8 +46,8 @@ const configModules = {
},
},
// 百斯特
// 百斯特
"best_test"
:
{
"best_test"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'http://120.26.174.69:90
32
/'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://120.26.174.69:90
07
/'
,
INERFACE_URL_PREFIX
:
'http://1
20.26.174.69:9007
'
,
INERFACE_URL_PREFIX
:
'http://1
72.16.101.87:46789
'
,
INDEX
:
{
INDEX
:
{
entry
:
'./src/entry/best/main.ts'
,
entry
:
'./src/entry/best/main.ts'
,
template
:
'./public/best/index.html'
,
template
:
'./public/best/index.html'
,
...
...
src/plugins/axios-plugin.ts
View file @
44c43bd8
import
axios
,
{
AxiosRequestConfig
,
AxiosResponse
}
from
'axios'
;
import
axios
,
{
AxiosRequestConfig
,
AxiosResponse
}
from
'axios'
;
import
{
Message
}
from
'element-ui'
;
import
{
Message
}
from
'element-ui'
;
let
router
:
any
=
null
;
let
router
:
any
=
null
;
console
.
log
(
process
.
env
.
VUE_APP_CURRENTMODE
);
let
key
:
string
|
undefined
=
process
.
env
.
VUE_APP_CURRENTMODE
let
key
:
string
|
undefined
=
process
.
env
.
VUE_APP_CURRENTMODE
if
(
key
)
{
if
(
key
)
{
if
(
key
.
indexOf
(
'sy'
)
===
0
)
{
if
(
key
.
indexOf
(
'sy'
)
===
0
)
{
console
.
log
(
'溯源环境'
);
// 溯源环境
router
=
require
(
'@/entry/sy/router'
);
router
=
require
(
'@/entry/sy/router'
);
}
else
if
(
key
.
indexOf
(
'cs'
)
===
0
)
{
}
else
if
(
key
.
indexOf
(
'cs'
)
===
0
)
{
console
.
log
(
'慈善环境'
);
// 慈善环境
router
=
require
(
'@/entry/cs/router'
);
router
=
require
(
'@/entry/cs/router'
);
}
else
if
(
key
.
indexOf
(
'best'
)
===
0
)
{
}
else
if
(
key
.
indexOf
(
'best'
)
===
0
)
{
console
.
log
(
'best'
);
// best
router
=
require
(
'@/entry/best/router'
);
router
=
require
(
'@/entry/best/router'
);
}
}
}
}
...
...
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