fix: 样式修改 去除关闭所有标签页功能

This commit is contained in:
ZhuRui
2026-08-07 19:40:22 +08:00
parent d8ee7b3263
commit 68820dfcea
4 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -165,9 +165,9 @@ const PageTabs = defineComponent({
case 'other':
props.onCloseOther?.(props.activeKey);
break;
case 'all':
props.onCloseAll?.();
break;
// case 'all':
// props.onCloseAll?.();
// break;
}
};
@@ -278,7 +278,7 @@ const PageTabs = defineComponent({
{renderBatchMenuItem('left', renderAiIcon(LuPanelLeftClose), '关闭左侧标签页')}
{renderBatchMenuItem('right', renderAiIcon(LuPanelRightClose), '关闭右侧标签页')}
{renderBatchMenuItem('other', renderAiIcon(LuCopyX), '关闭其它标签页')}
{renderBatchMenuItem('all', renderAiIcon(LuListX), '关闭全部标签页')}
{/* {renderBatchMenuItem('all', renderAiIcon(LuListX), '关闭全部标签页')} */}
</Menu>
),
}}