fix: gpu selector issues

This commit is contained in:
jialin
2025-10-28 11:17:29 +08:00
parent 697f1f9c25
commit a86bed294e
7 changed files with 52 additions and 30 deletions
+3 -2
View File
@@ -55,7 +55,7 @@ const SegmentedHeader = styled.div<{ $top?: number }>`
`;
interface DataFormProps {
initialValues?: any;
initialValues?: FormData;
ref?: any;
source: SourceType;
action: PageActionType;
@@ -323,10 +323,11 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
isGGUF: isGGUF,
formKey: formKey,
source: props.source,
pageAction: action,
action: action,
gpuOptions: gpuOptions,
backendOptions: backendOptions,
workerLabelOptions: workerLabelOptions,
initialValues: initialValues,
onValuesChange: onValuesChange,
onBackendChange: handleBackendChange
}}