Commit 72649434 authored by 赵啸非's avatar 赵啸非

修改页面变量

parent d811ebc5
...@@ -5,4 +5,4 @@ VUE_APP_API_BASE_URL=/basics_api ...@@ -5,4 +5,4 @@ VUE_APP_API_BASE_URL=/basics_api
#图片地址拼接 #图片地址拼接
VUE_APP_PORTAL_URL = /portal_home VUE_APP_PORTAL_URL = /portal_home
VUE_APP_PORTAL_PORT = 11072 VUE_APP_PORTAL_PORT = 11039
...@@ -28,7 +28,7 @@ instance.interceptors.request.use(config => { ...@@ -28,7 +28,7 @@ instance.interceptors.request.use(config => {
const hostname = location.hostname; const hostname = location.hostname;
const baseURL =config.baseURL; const baseURL =config.baseURL;
//const port = location.port; //const port = location.port;
const port =process.env.VUE_APP_PORTAL_PORT=='undefined'?'11089':process.env.VUE_APP_PORTAL_PORT; const port =process.env.VUE_APP_PORTAL_PORT=='undefined'?'11072':process.env.VUE_APP_PORTAL_PORT;
// 动态修改请求地址 // 动态修改请求地址
......
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