Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
ximai
mes-ui
Commits
1a315101
Commit
1a315101
authored
Aug 26, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端接口地址修改
parent
1fde66f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.env.development
.env.development
+1
-1
.env.production
.env.production
+1
-1
vue.config.js
vue.config.js
+2
-2
No files found.
.env.development
View file @
1a315101
...
...
@@ -5,7 +5,7 @@ VUE_APP_TITLE = 希迈系统
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = '
/api
'
VUE_APP_BASE_API = '
http://192.168.222.60:8088
'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
.env.production
View file @
1a315101
...
...
@@ -5,4 +5,4 @@ VUE_APP_TITLE = 希迈系统
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '
/prod-api
'
VUE_APP_BASE_API = '
http://192.168.222.60:8088
'
vue.config.js
View file @
1a315101
...
...
@@ -36,8 +36,8 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://localhost:8080`,
target
:
`http://192.168.3.91:8100
`
,
// target: `http://192.168.4.122:8080
`,
// target: `http://192.168.222.60:9081/mesApi
`,
target
:
`http://192.168.222.60:8088
`
,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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