Update request.js
This commit is contained in:
parent
44f4256acf
commit
a61e652b52
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue