Commit 414dcf4a authored by 许珑标's avatar 许珑标

退出登录通过路由跳转登录页

parent 45840c7d
......@@ -98,7 +98,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = '/index';
this.$router.push('/index')
})
}).catch(() => {});
}
......
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