Commit 22edf216 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

fix: 应用页退出登录无效

See merge request !17
parents 5e24a6a4 33beefd5
......@@ -117,11 +117,13 @@ function handleBackPreviousPage() {
router.go(-1)
}
function handleDropdownSelect(key: number) {
if (key === 1) {
function handleDropdownSelect(key: string) {
switch (key) {
case 'logout':
userStore.logout().then(() => {
router.push({ name: 'Login' })
})
break
}
}
......
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