fix: backend change

This commit is contained in:
jialin
2025-11-03 10:14:30 +08:00
parent 57d41e79c7
commit 86c2f8eda1
3 changed files with 42 additions and 34 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ interface FormContextProps {
interface CatalogFormContextProps {
sizeOptions: Global.BaseOption<number>[];
quantizationOptions: Global.BaseOption<string>[];
modeList: Global.BaseOption<string & { isBuiltIn: boolean; tips: string }>[];
modeList: Global.BaseOption<string, { isBuiltIn: boolean; tips: string }>[];
onModeChange: (val: string) => void;
onSizeChange: (val: number) => void;
onQuantizationChange: (val: string) => void;