|
@@ -67,7 +67,7 @@ export default class AxiosWrapper {
|
|
const url = AxiosWrapper.merge(uri, options.params);
|
|
const url = AxiosWrapper.merge(uri, options.params);
|
|
|
|
|
|
currentRequests += 1;
|
|
currentRequests += 1;
|
|
- const loadingInstance = Loading.service({ fullscreen: true, spinner: 'el-icon-loading' });
|
|
|
|
|
|
+ // const loadingInstance = Loading.service({ spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.5)' });
|
|
|
|
|
|
try {
|
|
try {
|
|
const axios = Axios.create({
|
|
const axios = Axios.create({
|
|
@@ -122,7 +122,7 @@ export default class AxiosWrapper {
|
|
currentRequests -= 1;
|
|
currentRequests -= 1;
|
|
if (currentRequests <= 0) {
|
|
if (currentRequests <= 0) {
|
|
currentRequests = 0;
|
|
currentRequests = 0;
|
|
- loadingInstance.close();
|
|
|
|
|
|
+ // loadingInstance.close();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|