|
@@ -90,7 +90,7 @@ function createService() {
|
|
}
|
|
}
|
|
const appStore = useAppStore();
|
|
const appStore = useAppStore();
|
|
if (error.config?.loading) {
|
|
if (error.config?.loading) {
|
|
- appStore.setLoading(true);
|
|
+ appStore.setLoading(false);
|
|
}
|
|
}
|
|
const err = (text: string) => {
|
|
const err = (text: string) => {
|
|
!rejectWhiteList.includes(error.config?.url) &&
|
|
!rejectWhiteList.includes(error.config?.url) &&
|