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