Commit ada0952f authored by 李苏's avatar 李苏 💬

退出逻辑适配 hash 模式

parent fb25caaa
...@@ -93,7 +93,8 @@ const user = { ...@@ -93,7 +93,8 @@ const user = {
commit('SET_ROLES', []) commit('SET_ROLES', [])
commit('SET_PERMISSIONS', []) commit('SET_PERMISSIONS', [])
removeToken() removeToken()
location.href="login" location.href="/#login"
location.reload();
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment