Quellcode durchsuchen

500公共提示

chenrui vor 4 Jahren
Ursprung
Commit
acd033c2cb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -67,7 +67,7 @@ service.interceptors.response.use((response) => {
       })
     }, 2000)
   }
-  if ((response.data.status == '900' || response.data.status == '500') && window.location.pathname != '/user/login') {
+  if ((response.data.status == '900') && window.location.pathname != '/user/login') {
     notification.destroy()
     notification.error({
       message: '提示',