fix(mobile): remove unused logout handler from MobileLayout

This commit is contained in:
zcode
2026-06-15 16:27:42 +08:00
parent a556a4f06d
commit 9ce4683bc0
-8
View File
@@ -7,7 +7,6 @@ import { useUserStore } from '@/stores/user'
import { useGroupStore } from '@/stores/group'
import { useTeamStore } from '@/stores/team'
import { useNotificationStore } from '@/stores/notification'
import { resetDeviceMode } from '@/mobile/useDevice'
const router = useRouter()
const route = useRoute()
@@ -100,13 +99,6 @@ const unreadCount = computed(() => notificationStore.unreadCount)
function goNotifications() {
router.push('/mobile-notifications')
}
// 退出登录
function handleLogout() {
resetDeviceMode()
userStore.logout()
router.push({ name: 'Login' })
}
</script>
<template>