Browse Source

注释提示

wkw 3 days ago
parent
commit
3a3c0449dd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/api/axios.backend.js

+ 3 - 3
src/api/axios.backend.js

@@ -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();