fix[request.js]: fixed missing return
This commit is contained in:
parent
0d40222b64
commit
770753eff2
|
@ -23,7 +23,7 @@ service.interceptors.request.use(
|
|||
error => {
|
||||
// Do something with request error
|
||||
console.log(error) // for debug
|
||||
Promise.reject(error)
|
||||
return Promise.reject(error)
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue