Explorar o código

登陆暂注释

panxiandiao_i %!s(int64=5) %!d(string=hai) anos
pai
achega
d2bc5cce3f
Modificáronse 1 ficheiros con 9 adicións e 9 borrados
  1. 9 9
      src/utils/request.js

+ 9 - 9
src/utils/request.js

@@ -122,15 +122,15 @@ service.interceptors.response.use(
         duration: 5 * 1000
       })
     } else {
-      error.message = '登录中'
-      Message({
-        message: error.message,
-        type: 'warning',
-        duration: 5 * 1000
-      })
-      if (location.href.indexOf('localhost') < 0) {
-        location.href = 'http://10.179.209.19:8899/'
-      }
+      // error.message = '登录中'
+      // Message({
+      //   message: error.message,
+      //   type: 'warning',
+      //   duration: 5 * 1000
+      // })
+      // if (location.href.indexOf('localhost') < 0) {
+      //   location.href = 'http://10.179.209.19:8899/'
+      // }
     }
     return Promise.reject(error)
   }