@dhccmobile/vue3-lo-form 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85945,7 +85945,13 @@ class FormApi_FormApi {
85945
85945
  continue;
85946
85946
  }
85947
85947
 
85948
- if (objectA[key] !== objectB[key]) {
85948
+ const control = this.getControl(key);
85949
+
85950
+ if (!control) {
85951
+ continue;
85952
+ }
85953
+
85954
+ if (control.code !== constants_enum["g" /* FormFieldType */].Custom.code && objectA[key] + "" !== objectB[key] + "") {
85949
85955
  const oldValue = objectA[key]; // 记录新值
85950
85956
 
85951
85957
  const newValue = objectB[key]; // 记录旧值
@@ -85954,12 +85960,6 @@ class FormApi_FormApi {
85954
85960
 
85955
85961
  fieldInfo.field_cd = key; //字段英文
85956
85962
 
85957
- const control = this.getControl(key);
85958
-
85959
- if (!control) {
85960
- continue;
85961
- }
85962
-
85963
85963
  const name = control.controlAttr.formFieldDescribe;
85964
85964
  fieldInfo.field_nm = name; //字段中文
85965
85965