@xuda.io/runtime-bundle 1.0.1334 → 1.0.1335

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.
@@ -9180,7 +9180,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9180
9180
  if (!SYS_GLOBAL_OBJ_REFS[ref_field_id]) {
9181
9181
  SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
9182
9182
  }
9183
- SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
9183
+ // SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
9184
9184
 
9185
9185
  function deepUpdateObject(a, b) {
9186
9186
  for (let key in b) {
@@ -9188,14 +9188,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9188
9188
  if (typeof b[key] === 'object' && b[key] !== null && !Array.isArray(b[key]) && a[key] && typeof a[key] === 'object') {
9189
9189
  deepUpdateObject(a[key], b[key]);
9190
9190
  } else {
9191
- a[key] = b[key];
9191
+ if (!_.isEqual(a[key], b[key])) {
9192
+ a[key] = b[key];
9193
+ }
9192
9194
  }
9193
9195
  }
9194
9196
  }
9195
9197
  return a;
9196
9198
  }
9197
- // deepUpdateObject(SYS_GLOBAL_OBJ_REFS[ref_field_id], obj);
9198
-
9199
+ deepUpdateObject(SYS_GLOBAL_OBJ_REFS[ref_field_id], obj);
9200
+ SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
9199
9201
  ret = true;
9200
9202
  }
9201
9203
 
@@ -9181,7 +9181,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9181
9181
  if (!SYS_GLOBAL_OBJ_REFS[ref_field_id]) {
9182
9182
  SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
9183
9183
  }
9184
- SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
9184
+ // SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
9185
9185
 
9186
9186
  function deepUpdateObject(a, b) {
9187
9187
  for (let key in b) {
@@ -9189,14 +9189,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9189
9189
  if (typeof b[key] === 'object' && b[key] !== null && !Array.isArray(b[key]) && a[key] && typeof a[key] === 'object') {
9190
9190
  deepUpdateObject(a[key], b[key]);
9191
9191
  } else {
9192
- a[key] = b[key];
9192
+ if (!_.isEqual(a[key], b[key])) {
9193
+ a[key] = b[key];
9194
+ }
9193
9195
  }
9194
9196
  }
9195
9197
  }
9196
9198
  return a;
9197
9199
  }
9198
- // deepUpdateObject(SYS_GLOBAL_OBJ_REFS[ref_field_id], obj);
9199
-
9200
+ deepUpdateObject(SYS_GLOBAL_OBJ_REFS[ref_field_id], obj);
9201
+ SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
9200
9202
  ret = true;
9201
9203
  }
9202
9204