fix: issues

This commit is contained in:
yanghao05
2025-04-22 20:04:10 +08:00
parent 707cbbb639
commit 7a7bd3ff6e

View File

@@ -7,35 +7,34 @@ import { useRouter } from 'vue-router';
const router = useRouter(); const router = useRouter();
const authStore = useAuthStore(); const authStore = useAuthStore();
const navItems = ref([ const navItems = ref([
{ {
label: 'Dashboard', label: '仪表盘',
icon: 'pi pi-home', icon: 'pi pi-home',
command: () => router.push('/') command: () => router.push('/')
}, },
{ {
label: 'Media', label: '媒体',
icon: 'pi pi-image', icon: 'pi pi-image',
command: () => router.push('/medias') command: () => router.push('/medias')
}, },
{ {
label: 'Articles', label: '文章',
icon: 'pi pi-file', icon: 'pi pi-file',
command: () => router.push('/posts') command: () => router.push('/posts')
}, },
{ {
label: 'Usesrs', label: '用户',
icon: 'pi pi-users', icon: 'pi pi-users',
command: () => router.push('/users') command: () => router.push('/users')
}, },
{ {
label: 'Orders', label: '订单',
icon: 'pi pi-shopping-cart', icon: 'pi pi-shopping-cart',
command: () => router.push('/orders') command: () => router.push('/orders')
}, },
{ {
label: 'Settings', label: '设置',
icon: 'pi pi-cog', icon: 'pi pi-cog',
command: () => router.push('/settings') command: () => router.push('/settings')
} }