修复bug

This commit is contained in:
Jerry
2024-08-17 16:09:53 +08:00
parent d030d84a30
commit d03d090336
3 changed files with 1 additions and 3 deletions

View File

@@ -151,7 +151,6 @@ export const useForm = (props: ANY_OBJECT, formRef: Ref<FormInstance> | null = n
return true;
};
const onValueChange = (widget: ANY_OBJECT, value: ANY_OBJECT) => {
console.log('useForm.onValueChange', widget, value);
if (props.isEdit || !isReady.value) return;
if (widget.bindData.dataType === SysCustomWidgetBindDataType.Column && widget.column) {
// 绑定从表字段
@@ -169,7 +168,6 @@ export const useForm = (props: ANY_OBJECT, formRef: Ref<FormInstance> | null = n
) {
formData.customField[widget.bindData.formFieldName] = value;
}
console.log('useForm.onValueChange formData', formData);
};
const onWidgetValueChange = (
widget: ANY_OBJECT,