fix[request.js]: fixed missing return

This commit is contained in:
Pan 2019-04-04 17:43:12 +08:00
parent 0d40222b64
commit 770753eff2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
)