This commit is contained in:
xuhe@fangjia.com
2018-04-16 14:05:19 +08:00
parent 89a097a8cb
commit 3162a5d85a
8 changed files with 20 additions and 10 deletions
+1
View File
@@ -1,5 +1,6 @@
axios.defaults.baseURL = BASE_PATH;
axios.defaults.headers.post['Content-Type'] = 'application/json';
axios.defaults.timeout = 10000;
// 添加请求拦截器
axios.interceptors.request.use(function (config) {