Commit 4a09e68e authored by 赵啸非's avatar 赵啸非

修改部门新增

parent e162ac1a
...@@ -30,7 +30,7 @@ instance.interceptors.request.use(config => { ...@@ -30,7 +30,7 @@ instance.interceptors.request.use(config => {
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'?'11089':process.env.VUE_APP_PORTAL_PORT;
// 动态修改请求地址 // 动态修改请求地址
config.url = `http://${hostname}:${port}/${config.url}`; config.url = `http://${hostname}:${port}${config.url}`;
//config.data = Qs.stringify(config.data, {arrayFormat: 'repeat', allowDots: true}); //config.data = Qs.stringify(config.data, {arrayFormat: 'repeat', allowDots: true});
//config.data = Qs.stringify(config.data, {arrayFormat: 'indices', allowDots: true}); //config.data = Qs.stringify(config.data, {arrayFormat: 'indices', allowDots: true});
//brackets //brackets
......
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