Commit a3f18f2f authored by 张伯涛's avatar 张伯涛

退出登录后跳转到登录页面

parent 36d52793
......@@ -70,6 +70,14 @@ export default {
})
}
this.loading = false
this.$store.dispatch('FedLogOut').then(() => {
this.$router.push({
path: '/login/index'
})
setTimeout(() => {
location.reload()
}, 500)
})
}).catch(err => {
this.loading = false
})
......
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