提交 6a06a5af authored 作者: 刘旭's avatar 刘旭

解决退出登录bug

上级 5dadb635
...@@ -23,7 +23,7 @@ const avatar = store.state.user.userAvatar ...@@ -23,7 +23,7 @@ const avatar = store.state.user.userAvatar
//退出登录 //退出登录
const loginOut = async () => { const loginOut = async () => {
window.location.href = "/login"; window.location.href = "/#/login";
cleanSession(); cleanSession();
// let confirm = await global.$myconfirm('确定退出登录吗?') // let confirm = await global.$myconfirm('确定退出登录吗?')
// if (confirm) { // if (confirm) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论