fix: benchmark issues

This commit is contained in:
jialin
2026-02-06 14:27:05 +08:00
parent 4ff5b3e05a
commit da985871cc
20 changed files with 197 additions and 419 deletions
@@ -11,6 +11,8 @@ type AddModalProps = {
open: boolean;
currentData?: ListItem; // Used when action is EDIT
clusterList?: Global.BaseOption<number>[];
profilesOptions?: Global.BaseOption<string>[];
datasetList?: Global.BaseOption<number | string>[];
onOk: (values: FormData) => void;
onCancel: () => void;
};
@@ -20,6 +22,8 @@ const AddBenchmark: React.FC<AddModalProps> = ({
open,
currentData,
clusterList,
profilesOptions,
datasetList,
onOk,
onCancel
}) => {
@@ -54,6 +58,8 @@ const AddBenchmark: React.FC<AddModalProps> = ({
open={open}
currentData={currentData}
clusterList={clusterList}
profilesOptions={profilesOptions}
datasetList={datasetList}
onFinish={handleOk}
/>
</FormDrawer>