diff --git a/src/utils/request.js b/src/utils/request.js index 2fb95ac0..de2131bf 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -67,9 +67,8 @@ service.interceptors.response.use( }) } return Promise.reject(new Error(res.message || 'Error')) - } else { - return res } + return res }, error => { console.log('err' + error) // for debug