Skip to content

Commit

Permalink
fix(nav): permission config (#302)
Browse files Browse the repository at this point in the history
* feat(nav): support open nav menu in new tabs

* fix(nav): add status

* fix(nav): typo

---------

Co-authored-by: ZonaHe <[email protected]>
  • Loading branch information
alili and ZonaHex authored Jul 12, 2023
1 parent 2d8bb75 commit 66ff2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/navbar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
img.logo-text-img(alt="logo" src="/src/assets/images/logo-text.webp")
.menu
a-menu(mode="horizontal" :selected-keys="menuSelectedKey")
a-menu-item(v-for="(item, index) in menuConfig" :key="item.key" :v-permission="item.permission")
a-menu-item(v-for="(item, index) in menuConfig" :key="item.key" v-permission="item.permission")
span(
@click.meta="menuClickWithMeta(item.key)"
@click.ctrl="menuClickWithMeta(item.key)"
Expand Down

0 comments on commit 66ff2b4

Please sign in to comment.