mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 02:26:28 +08:00
修复bug
This commit is contained in:
@@ -145,7 +145,6 @@ function showDialog(title: string, params?: ANY_OBJECT, options?: ANY_OBJECT) {
|
||||
dialogKey;
|
||||
|
||||
dlgUrl += '&thirdParamsString=' + encodeURIComponent(JSON.stringify(paramsCopy));
|
||||
|
||||
const data = {
|
||||
title: title,
|
||||
dlgFullScreen: options.fullscreen,
|
||||
|
||||
@@ -115,6 +115,7 @@ const emitChange = (info: ANY_OBJECT) => {
|
||||
});
|
||||
};
|
||||
const handlerEditOperate = (row: ANY_OBJECT | null, res: ANY_OBJECT) => {
|
||||
if (res == null) return;
|
||||
if (!row) {
|
||||
emitChange({
|
||||
dictId: props.value.dictId,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user