feat: hidden menu home page
This commit is contained in:
parent
db2c1bb050
commit
b2290ddf0e
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ defineProps<{
|
|||
icon: string;
|
||||
title: string;
|
||||
caption: string;
|
||||
hidden?: boolean;
|
||||
disabled?: boolean;
|
||||
isax?: boolean;
|
||||
color:
|
||||
|
|
@ -40,7 +41,7 @@ function navigateTo(destination: string) {
|
|||
<AppBox
|
||||
class="column inline-flex items-center"
|
||||
:class="{ disabled: !!v.disabled }"
|
||||
v-for="(v, i) in list"
|
||||
v-for="(v, i) in list.filter((item) => !item.hidden)"
|
||||
:key="i"
|
||||
:bordered="$q.dark.isActive"
|
||||
@click="!v.disabled && navigateTo(v.value)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue