Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aic_duty_strategy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
yinxiaoling
aic_duty_strategy
Commits
9c8fd862
Commit
9c8fd862
authored
Oct 23, 2020
by
洪苏琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改域名
parent
96694f33
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
.env.production
public/zjtlj/.env.production
+2
-1
main.js
public/zjtlj/src/main.js
+4
-4
vue.config.js
public/zjtlj/vue.config.js
+2
-2
No files found.
public/zjtlj/.env.production
View file @
9c8fd862
...
...
@@ -3,5 +3,6 @@ ENV = 'production'
# base api
#VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = 'https://aic.ciopaas.com:82'
VUE_APP_BASE_API = 'https://test216.ciopaas.com:86'
#VUE_APP_BASE_API = 'https://aic.ciopaas.com:82'
#VUE_APP_BASE_API = 'https://test117.ciopaas.com:81/'
public/zjtlj/src/main.js
View file @
9c8fd862
...
...
@@ -31,10 +31,10 @@ Vue.use(publicTools)
* Currently MockJs will be used in the production environment,
* please remove it before going online ! ! !
*/
if
(
process
.
env
.
NODE_ENV
===
'
production
'
)
{
const
{
mockXHR
}
=
require
(
'
../mock
'
)
mockXHR
()
}
//
if (process.env.NODE_ENV === 'production') {
//
const { mockXHR } = require('../mock')
//
mockXHR()
//
}
Vue
.
use
(
Element
,
{
size
:
Cookies
.
get
(
'
size
'
)
||
'
medium
'
// set element-ui default size
...
...
public/zjtlj/vue.config.js
View file @
9c8fd862
...
...
@@ -36,8 +36,8 @@ module.exports = {
overlay
:
{
warnings
:
false
,
errors
:
true
}
,
before
:
require
(
'
./mock/mock-server.js
'
)
}
//
before: require('./mock/mock-server.js')
},
configureWebpack
:
{
// provide the app's title in webpack's name field, so that
...
...
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