fix: Fixed tab error,fixex #59 [deploy]

This commit is contained in:
vben
2024-07-29 23:46:22 +08:00
parent 239f681ea1
commit a80a9135fc
6 changed files with 125 additions and 49 deletions

View File

@@ -34,7 +34,8 @@ const {
} = useTabbar();
const menus = computed(() => {
const menus = createContextMenus(route);
const tab = coreTabbarStore.getTabByPath(currentActive.value);
const menus = createContextMenus(tab);
return menus.map((item) => {
return {
...item,