Browse Source

bug: fix the problem of logging out and backing back

chen shuai 7 năm trước cách đây
mục cha
commit
a9f0a18bd6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,