Commit 11aa682fe6ee78aa4979378e8ee8d8da54d93a3f

Authored by liuqimichale
1 parent b9d278cb

init

Showing 1 changed file with 1 additions and 0 deletions
src/api/httpRequest.js
... ... @@ -17,6 +17,7 @@ axios.interceptors.request.use(config => {
17 17 return Promise.reject(error)
18 18 })
19 19  
  20 +
20 21 //响应拦截器即异常处理,对响应数据做点什么
21 22 axios.interceptors.response.use(response => {
22 23 return response
... ...