diff --git a/frontend/src/mobile/MobileLayout.vue b/frontend/src/mobile/MobileLayout.vue index 2af1971..066af4f 100644 --- a/frontend/src/mobile/MobileLayout.vue +++ b/frontend/src/mobile/MobileLayout.vue @@ -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' }) -}