diff --git a/app/components/AppShell.vue b/app/components/AppShell.vue index f50b98c..11098c2 100644 --- a/app/components/AppShell.vue +++ b/app/components/AppShell.vue @@ -62,6 +62,7 @@ function navActive(to: string) { } const consoleNavActive = computed(() => navActive('/me')) +const showQuickCreate = computed(() => loggedIn.value && initialized.value) const accountMenuItems = computed(() => { const u = user.value @@ -86,8 +87,7 @@ const accountMenuItems = computed(() => { } if (u.role === 'admin') { groups.push([ - { label: '应用配置', icon: 'i-lucide-sliders-horizontal', to: '/me/admin/config' }, - { label: '用户管理', icon: 'i-lucide-users', to: '/me/admin/users' }, + { label: '管理员中心', icon: 'i-lucide-shield-check', to: '/me/admin' }, ]) } return groups @@ -180,6 +180,17 @@ async function logout() {