提交 62421e7b authored 作者: 王鹏飞's avatar 王鹏飞

退出登录bug修复

上级 ad092888
...@@ -27,7 +27,8 @@ export default new Vuex.Store({ ...@@ -27,7 +27,8 @@ export default new Vuex.Store({
}, },
logout() { logout() {
return logout().then(() => { return logout().then(() => {
router.push('/') // router.push('/')
window.location.href = '/'
}) })
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论