Kaynağa Gözat

bug: fix the problem of logging out and backing back

chen shuai 7 yıl önce
ebeveyn
işleme
a9f0a18bd6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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,