style: card style

This commit is contained in:
jialin
2026-04-22 13:16:48 +08:00
committed by jialin
parent daa3d74500
commit c92f56ec8f
19 changed files with 532 additions and 222 deletions
+6 -5
View File
@@ -1,10 +1,10 @@
import { UsageFilterItem } from './types';
export const groupByOptions = [
{
value: '',
label: 'None'
},
// {
// value: null,
// label: 'None'
// },
{
value: 'model',
label: 'Model'
@@ -163,7 +163,8 @@ export function groupToOptions<T, TChild>(
});
}
groupedMap.get(groupKey)!.children.push(options.getChild(item));
const child = options.getChild(item) as TChild & { value: string };
groupedMap.get(groupKey)!.children.push(child);
});
return Array.from(groupedMap.values());