Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
389fd705
Commit
389fd705
authored
Feb 29, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
24a83dcf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
prod.env.js
config/prod.env.js
+1
-1
main.js
src/main.js
+1
-1
No files found.
config/prod.env.js
View file @
389fd705
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
module
.
exports
=
{
module
.
exports
=
{
NODE_ENV
:
'"production"'
,
NODE_ENV
:
'"production"'
,
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
CONFIG_ENV
:
JSON
.
stringify
(
process
.
env
.
CONFIG_ENV
),
debug
:
tru
e
,
debug
:
fals
e
,
isMobilePlatform
:
true
,
isMobilePlatform
:
true
,
loginPath
:
'"http://www.xcmgfs.com:8087/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" '
,
loginPath
:
'"http://www.xcmgfs.com:8087/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" '
,
basePath
:
'"http://www.xcmgfs.com:8087/r/api/interface?sysName=XCMG_PROD&apiName="'
,
basePath
:
'"http://www.xcmgfs.com:8087/r/api/interface?sysName=XCMG_PROD&apiName="'
,
...
...
src/main.js
View file @
389fd705
...
@@ -58,7 +58,7 @@ import Jpush from './scripts/jpushService'
...
@@ -58,7 +58,7 @@ import Jpush from './scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
import
Jmessage
from
'./scripts/jmessageService'
if
(
process
.
env
.
CONFIG_ENV
===
'uat'
||
process
.
env
.
CONFIG_ENV
===
'dev'
||
process
.
env
.
CONFIG_ENV
===
'prod'
)
{
if
(
process
.
env
.
CONFIG_ENV
===
'uat'
||
process
.
env
.
CONFIG_ENV
===
'dev'
)
{
const
VConsole
=
require
(
'vconsole'
)
const
VConsole
=
require
(
'vconsole'
)
new
VConsole
()
// eslint-disable-line
new
VConsole
()
// eslint-disable-line
}
}
...
...
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