perf(Nav): update nav list

This commit is contained in:
thehrz 2023-07-11 14:41:28 +08:00
parent 0e1b4363a7
commit 999b28dc60
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158

View File

@ -45,8 +45,9 @@ export default {
<template #activator="{ props }">
<v-app-bar-nav-icon v-bind="props" class="md:hidden!" />
</template>
<v-list>
<v-list-item v-for="(page, index) in pages" :key="index" :value="index" :to="page.page">
<v-list :lines="false" density="compact" nav>
<v-list-item v-for="(page, index) in pages" :key="index" color="primary" :value="index" :to="page.page">
<v-list-item-title>{{ page.title }}</v-list-item-title>
</v-list-item>
</v-list>