wkw 3 日 前
コミット
3a3c0449dd
1 ファイル変更3 行追加3 行削除
  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();