Browse Source

fix[request.js]: fixed missing return

pull/1850/head
Pan 6 years ago
parent
commit
770753eff2
  1. 2
      src/utils/request.js

2
src/utils/request.js

@ -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…
Cancel
Save