diff --git a/PC/InterFace.Dash/src/utils/request.js b/PC/InterFace.Dash/src/utils/request.js index 387ff13..dcae559 100644 --- a/PC/InterFace.Dash/src/utils/request.js +++ b/PC/InterFace.Dash/src/utils/request.js @@ -91,15 +91,15 @@ service.interceptors.response.use( // } }, error => { - if(!error.response || !error.response.data){ - Message({ - message: '访问出错,请重试', - type: 'error', - duration: 5 * 1000, - showClose:true - }) - return Promise.reject(error) - } + // if(!error.response || !error.response.data){ + // Message({ + // message: '访问出错,请重试', + // type: 'error', + // duration: 5 * 1000, + // showClose:true + // }) + // return Promise.reject(error) + // } let err = error.response.data.error // for debug if (err && err.validationErrors) { for (let item in err.validationErrors) { diff --git a/PC/UI.WinIn.FasterZ.Job/src/utils/request.js b/PC/UI.WinIn.FasterZ.Job/src/utils/request.js index 387ff13..b2965e0 100644 --- a/PC/UI.WinIn.FasterZ.Job/src/utils/request.js +++ b/PC/UI.WinIn.FasterZ.Job/src/utils/request.js @@ -91,15 +91,15 @@ service.interceptors.response.use( // } }, error => { - if(!error.response || !error.response.data){ - Message({ - message: '访问出错,请重试', - type: 'error', - duration: 5 * 1000, - showClose:true - }) - return Promise.reject(error) - } + // if(!error.response || !error.response.data){ + // // Message({ + // // message: '访问出错,请重试', + // // type: 'error', + // // duration: 5 * 1000, + // // showClose:true + // // }) + // return Promise.reject(error) + // } let err = error.response.data.error // for debug if (err && err.validationErrors) { for (let item in err.validationErrors) { diff --git a/PC/UI.WinIn.FasterZ.Store/src/utils/request.js b/PC/UI.WinIn.FasterZ.Store/src/utils/request.js index 387ff13..dcae559 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/utils/request.js +++ b/PC/UI.WinIn.FasterZ.Store/src/utils/request.js @@ -91,15 +91,15 @@ service.interceptors.response.use( // } }, error => { - if(!error.response || !error.response.data){ - Message({ - message: '访问出错,请重试', - type: 'error', - duration: 5 * 1000, - showClose:true - }) - return Promise.reject(error) - } + // if(!error.response || !error.response.data){ + // Message({ + // message: '访问出错,请重试', + // type: 'error', + // duration: 5 * 1000, + // showClose:true + // }) + // return Promise.reject(error) + // } let err = error.response.data.error // for debug if (err && err.validationErrors) { for (let item in err.validationErrors) {