From a9f0a18bd64ff26c04625067c4b729d2a7789038 Mon Sep 17 00:00:00 2001 From: chen shuai Date: Tue, 12 Mar 2019 09:24:43 +0800 Subject: [PATCH] bug: fix the problem of logging out and backing back --- src/models/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/login.js b/src/models/login.js index 82fc4249..46bbeb7d 100644 --- a/src/models/login.js +++ b/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, -- GitLab