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
@@ -27,9 +27,6 @@ const OllamaForm: React.FC = () => {
};
const handleOnBlur = (e: any) => {
if (!e.target.value) {
return;
}
onValuesChange?.({}, formInstance.getFieldsValue());
};
return (