Commit 371b25de by jack

test 部署

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