Commit 517150ac authored by xinzhedeai's avatar xinzhedeai

fix:图片地址更换

parent 57c094c4
......@@ -10,3 +10,5 @@ VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_APP_BASE_URL = 'http://192.168.2.16:9090'
......@@ -5,4 +5,6 @@ VUE_APP_TITLE = 隧道结构稳定性监测系统
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
\ No newline at end of file
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_URL = 'http://182.92.170.89:10082'
......@@ -15,7 +15,8 @@ const getters = {
topbarRouters: state => state.permission.topbarRouters,
defaultRoutes: state => state.permission.defaultRoutes,
sidebarRouters: state => state.permission.sidebarRouters,
appPicApi: res => 'http://60.212.188.152:12100',
// appPicApi: res => 'http://60.212.188.152:12100',
appPicApi: res => process.env.VUE_APP_BASE_URL,
// exportModel: res => 'http://60.212.188.152:12100',
// appPicApi: res => 'http://192.168.3.37:40251',
}
......
......@@ -36,7 +36,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://182.92.170.89:10086`, // 服务器
target: process.env.VUE_APP_BASE_URL,
// target: `http://182.92.170.89:10086`, // 服务器
// target: `http://192.168.2.16:10080`, // 张涛
// target: `http://localhost:8080`,//服务器
changeOrigin: true,
......
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