Commit a5c71c35 by LJM

js

parent e9ccd02b
Showing with 2 additions and 4 deletions
import {Loading} from 'element-ui';
import Vue from 'vue';
import { Loading } from 'element-ui';
let loadingCount = 0; let loadingCount = 0;
let loading; let loading;
......
...@@ -83,7 +83,7 @@ axios.interceptors.response.use(res => { ...@@ -83,7 +83,7 @@ axios.interceptors.response.use(res => {
} }
return res.data; return res.data;
}, error => { }, error => {
// Message('网络出现问题,请检查网络'); Message('网络出现问题,请检查网络');
hideLoading(); hideLoading();
return Promise.reject(new Error(error)) return Promise.reject(new Error(error))
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment