|
@@ -13,7 +13,7 @@ axios.defaults.headers["X-Requested-with"] = "XMLHttpRequest";
|
|
|
|
|
|
axios.interceptors.request.use(
|
|
|
function (config) {
|
|
|
- Loading.show();
|
|
|
+ // Loading.show();
|
|
|
|
|
|
if (config.headers["Content-Type"] == 'multipart/form-data') {
|
|
|
return config;
|
|
@@ -47,8 +47,8 @@ axios.interceptors.response.use(
|
|
|
(response) => {
|
|
|
let data = response.data;
|
|
|
let code = Number(response.data.code);
|
|
|
-
|
|
|
- Loading.hide();
|
|
|
+
|
|
|
+ // Loading.hide();
|
|
|
switch (code) {
|
|
|
case -1:
|
|
|
break;
|
|
@@ -68,7 +68,7 @@ axios.interceptors.response.use(
|
|
|
return data;
|
|
|
},
|
|
|
(error) => {
|
|
|
- Loading.hide();
|
|
|
+ // Loading.hide();
|
|
|
if (error.response) {
|
|
|
|
|
|
}
|