diff --git a/frontend/src/pages/S2AConfig.tsx b/frontend/src/pages/S2AConfig.tsx index c3dc130..cdade4b 100644 --- a/frontend/src/pages/S2AConfig.tsx +++ b/frontend/src/pages/S2AConfig.tsx @@ -296,12 +296,6 @@ export default function S2AConfig() { } } - // 获取分组显示文字: "name #id" 或 "#id" - const getGroupLabel = (id: number): string => { - const group = availableGroups.find(g => g.id === id) - return group ? `${group.name} #${id}` : `#${id}` - } - const handleAddGroupId = () => { const id = parseInt(newGroupId, 10) if (!isNaN(id) && !formGroupIds.includes(id)) {