Browse Source

fix: 无用报错消息

zhangzp 1 year ago
parent
commit
9c90907807
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/plugins/axios.js

+ 1 - 1
src/plugins/axios.js

@@ -101,7 +101,7 @@ axios.interceptors.response.use(
     } else if (error.response.status === 406) {
       Message.error({ message: error.response.data.msg });
     } else {
-      Message.error(error.response.data.message);
+      // Message.error(error.response.data.message);
     }
     return error;
   }