Commit f6e3e971 authored by 熊成伟's avatar 熊成伟

debug

parent c8f1122a
Pipeline #15358 passed with stages
in 55 seconds
......@@ -52,7 +52,8 @@ export const createAPI = (baseURL) => {
// console.log(response)
if (!response || !response.data) {
response.status === 'failure' && (window.location.href = '/login')
// response.status === 'failure' && (window.location.href = '/login')
response.code === 'idt-core-500' && (window.location.href = '/login')
console.log('response出错, 无返回数据!', response); return false;
};
if (response.data && response.data.errorMessage) {
......
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