瀏覽代碼

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,