dedsudiyu 1 년 전
부모
커밋
08c686edf5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/utils/request.js

+ 1 - 2
src/utils/request.js

@@ -84,8 +84,7 @@ service.interceptors.response.use(res => {
     //   return
     // }
     if(res.config.url == '/auth/logout'&&res.request.responseURL){
-      // window.location.href = res.request.responseURL;
-      window.location.href = 'http://localhost:8081/login';
+      window.location.href = res.request.responseURL;
       return
     }
     if (code == 401) {