fix: distributed_inference always display

This commit is contained in:
jialin
2025-11-04 18:57:57 +08:00
parent 7e5edd6387
commit 80527d5985
2 changed files with 22 additions and 20 deletions
+3
View File
@@ -203,6 +203,9 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
};
const handleBackendChange = async (val: string, option: BackendOption) => {
await new Promise((resolve) => {
setTimeout(resolve, 100);
});
form.setFieldsValue({
env: null,
backend_version: '', // don't set default version here, let the user select it