Commit 1a315101 authored by 沈翠玲's avatar 沈翠玲

后端接口地址修改

parent 1fde66f1
......@@ -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
......@@ -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'
......@@ -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]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment