Commit 371b25de by jack

test 部署

1 parent 54e762f4
......@@ -119,19 +119,18 @@ export default function $axios(options) {
break;
case '-1':
if(data.errId == '-200'){
console.log(data);
//window.refresh();
location.reload();
//window.reload()
}else{
Util.Info({
message: data.message + '5555555' || data.msg || '出错了,请联系管理员'
message: data.message || data.msg || '出错了,请联系管理员'
})
}
break;
default:
Util.Info({
message: data.message + '5555555' || data.msg || '出错了,请联系管理员'
message: data.message || data.msg || '出错了,请联系管理员'
})
break;
}
......
......@@ -23,7 +23,7 @@ export default {
// baseURL: 'https://'+ baseUrl +'/cow/mini/',
//baseURL: '/admin-supplychain',
baseURL: getUrl,
baseURL: getUrl(),
// 请求头信息
headers: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!