浏览代码

500公共提示

chenrui 4 年之前
父节点
当前提交
e00a186dbc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -64,7 +64,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: '提示',