Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
7a34bbe6
Commit
7a34bbe6
authored
Mar 05, 2020
by
Junling Bu
Browse files
per[litemall-admin]: 退出优化。
parent
c2b6522e
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/layout/components/Navbar.vue
View file @
7a34bbe6
...
...
@@ -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
}
`
)
})
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment