From c54724b0590729c677057736bd2d04715dc0c3fb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 一月 2020 14:43:24 +0800 Subject: [PATCH] 2020-01-22 --- src/api/index.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 062999d..cc854e2 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -26,10 +26,10 @@ }) const setCurrentUrl = () => { - // if (!!(window.history && window.history.pushState)) { - // window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login') - // window.location.reload() - // } + if (!!(window.history && window.history.pushState)) { + window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login') + window.location.reload() + } } let GlobMap = new Map() -- Gitblit v1.8.0