From 11aa682fe6ee78aa4979378e8ee8d8da54d93a3f Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Mon, 7 Jan 2019 14:10:18 +0800 Subject: [PATCH] init --- src/api/httpRequest.js | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/api/httpRequest.js b/src/api/httpRequest.js index 987fbd8..bdb95af 100644 --- a/src/api/httpRequest.js +++ b/src/api/httpRequest.js @@ -17,6 +17,7 @@ axios.interceptors.request.use(config => { return Promise.reject(error) }) + //响应拦截器即异常处理,对响应数据做点什么 axios.interceptors.response.use(response => { return response -- libgit2 0.21.4