Commit 7a34bbe6 authored by Junling Bu's avatar Junling Bu
Browse files

per[litemall-admin]: 退出优化。

parent c2b6522e
......@@ -85,7 +85,7 @@ export default {
},
logout() {
this.$store.dispatch('LogOut').then(() => {
location.reload()// In order to re-instantiate the vue-router object to avoid bugs
this.$router.push(`/login?redirect=${this.$route.fullPath}`)
})
}
}
......
Supports Markdown
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