|
@@ -55,13 +55,13 @@ axiosInstance.interceptors.response.use(
|
|
|
|
|
|
|
|
|
if (requestState.NotAccessRight.includes(code)) {
|
|
|
- showNotify({ type: 'warning', message: msg });
|
|
|
+ // showNotify({ type: 'warning', message: msg });
|
|
|
|
|
|
return Promise.reject(msg);
|
|
|
}
|
|
|
|
|
|
if (requestState.exception.includes(code)) {
|
|
|
- showNotify({ type: 'warning', message: msg });
|
|
|
+ // showNotify({ type: 'warning', message: msg });
|
|
|
return Promise.reject(msg);
|
|
|
}
|
|
|
|
|
@@ -71,7 +71,7 @@ axiosInstance.interceptors.response.use(
|
|
|
const systemStore = useSystemStore();
|
|
|
systemStore.localLoading();
|
|
|
const msg = err.response?.data ? err.response.data.message : "";
|
|
|
- showNotify({ type: 'warning', message: msg });
|
|
|
+ // showNotify({ type: 'warning', message: msg });
|
|
|
if (requestState.beOverdue.includes( err.status)) {
|
|
|
//
|
|
|
fn_logout();
|