fix: validate gpu_selector value before check

This commit is contained in:
jialin
2025-04-07 20:04:40 +08:00
parent 3843d1bd3e
commit 529a2ecd81
3 changed files with 8 additions and 6 deletions
@@ -191,9 +191,6 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
};
const handleGpuSelectorChange = (value: any[] | string) => {
if (!value?.length || !value) {
return;
}
onValuesChange?.({}, form.getFieldsValue());
};