File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,10 @@ provide(rootMenuInjectionKey, reactive({
170
170
}"
171
171
>
172
172
<template v-for =" item in menu " :key =" item .path ?? JSON .stringify (item )" >
173
- <SubMenu v-if =" item.children?.length" :menu =" item" :unique-key =" [item.path ?? JSON.stringify(item)]" />
174
- <Item v-else :item =" item" :unique-key =" [item.path ?? JSON.stringify(item)]" @click =" handleMenuItemClick(item.path ?? JSON.stringify(item))" />
173
+ <template v-if =" item .meta ?.menu !== false " >
174
+ <SubMenu v-if =" item.children?.length" :menu =" item" :unique-key =" [item.path ?? JSON.stringify(item)]" />
175
+ <Item v-else :item =" item" :unique-key =" [item.path ?? JSON.stringify(item)]" @click =" handleMenuItemClick(item.path ?? JSON.stringify(item))" />
176
+ </template >
175
177
</template >
176
178
</div >
177
179
</template >
You can’t perform that action at this time.
0 commit comments