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
89f6680c
Commit
89f6680c
authored
Feb 27, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
fe15874d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
prod.env.js
config/prod.env.js
+2
-2
main.js
src/main.js
+1
-1
No files found.
config/prod.env.js
View file @
89f6680c
...
@@ -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="'
,
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://www.xcmgfs.com:8087/r/api"'
,
ocrPath
:
'"http://www.xcmgfs.com:8087/r/api"'
,
fileUploadSvcPath
:
'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="'
,
fileUploadSvcPath
:
'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="'
,
appId
:
'"com.xcmg.app"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"0.0.
3
"'
currentVersion
:
'"0.0.
4
"'
}
}
src/main.js
View file @
89f6680c
...
@@ -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