mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
feat(tabbar): 添加右键菜单过滤功能 (#5820)
This commit is contained in:
@@ -209,7 +209,8 @@ export function useTabbar() {
|
||||
text: $t('preferences.tabbar.contextMenu.closeAll'),
|
||||
},
|
||||
];
|
||||
return menus;
|
||||
|
||||
return menus.filter((item) => tabbarStore.getMenuList.includes(item.key));
|
||||
};
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user