perf(Nav): update phone menu

This commit is contained in:
thehrz 2023-07-06 21:01:01 +08:00
parent 5bccdab01b
commit 41418a64a9
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158

View File

@ -41,6 +41,15 @@ export default {
<v-spacer />
<v-app-bar-nav-icon class="md:hidden!" />
<v-menu>
<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-item-title>{{ page.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
</v-app-bar>
</template>