This commit is contained in:
dap
2024-10-14 17:19:16 +08:00
71 changed files with 970 additions and 1071 deletions

View File

@@ -523,7 +523,8 @@ function isAffixTab(tab: TabDefinition) {
* @param tab
*/
function isTabShown(tab: TabDefinition) {
return !tab.meta.hideInTab;
const matched = tab?.matched ?? [];
return !tab.meta.hideInTab && matched.every((item) => !item.meta.hideInTab);
}
/**