소스 검색

bug: fix the problem of logging out and backing back

chen shuai 7 년 전
부모
커밋
a9f0a18bd6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/models/login.js

+ 1 - 1
src/models/login.js

@@ -55,7 +55,7 @@ export default {
       });
       reloadAuthorized();
       yield put(
-        routerRedux.push({
+        routerRedux.replace({
           pathname: '/user/login',
           search: stringify({
             redirect: window.location.href,