fix: do not evaluate from model files

This commit is contained in:
jialin
2025-11-12 15:10:00 +08:00
parent cbc000d35a
commit 653ada5f0f
3 changed files with 4 additions and 5 deletions
@@ -451,15 +451,13 @@ const AddModal: FC<AddModalProps> = (props) => {
]);
if (props.deploymentType === 'modelFiles') {
clearCacheFormValues();
form.current?.form?.setFieldsValue({
...props.initialValues
});
console.log('handleOnOpen - modelFiles:', props.initialValues);
handleOnValuesChange?.({
changedValues: {},
allValues: {
...props.initialValues
},
allValues: form.current?.form?.getFieldsValue(),
source: source
});
} else {