fix: rebase main

This commit is contained in:
jialin
2026-04-24 14:28:30 +08:00
committed by jialin
parent 16449613e0
commit 597a86562a
28 changed files with 88 additions and 56 deletions
@@ -80,6 +80,13 @@ const ActiveTable = () => {
}
}
];
const generateRowKey = (record: any) => {
return record.provider_name
? `${record.provider_name}/${record.name}`
: record.name;
};
return (
<Row gutter={[20, 0]}>
<Col xs={24} sm={24} md={24} lg={24} xl={24}>
@@ -101,7 +108,7 @@ const ActiveTable = () => {
columns={modelColumns}
dataSource={data}
pagination={false}
rowKey="id"
rowKey={generateRowKey}
/>
</div>
</Col>
@@ -152,6 +152,7 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
placeholder={intl.formatMessage({
id: 'dashboard.usage.selectmodel'
})}
isInFormItems={false}
options={modelList}
value={selectedModels}
showCheckedStrategy="SHOW_CHILD"