@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.
|
@@ -28311,7 +28311,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28311
28311
|
if (!SYS_GLOBAL_OBJ_REFS[ref_field_id]) {
|
|
28312
28312
|
SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
|
|
28313
28313
|
}
|
|
28314
|
-
SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
|
|
28314
|
+
// SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
|
|
28315
28315
|
|
|
28316
28316
|
function deepUpdateObject(a, b) {
|
|
28317
28317
|
for (let key in b) {
|
|
@@ -28319,14 +28319,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28319
28319
|
if (typeof b[key] === 'object' && b[key] !== null && !Array.isArray(b[key]) && a[key] && typeof a[key] === 'object') {
|
|
28320
28320
|
deepUpdateObject(a[key], b[key]);
|
|
28321
28321
|
} else {
|
|
28322
|
-
a[key]
|
|
28322
|
+
if (!_.isEqual(a[key], b[key])) {
|
|
28323
|
+
a[key] = b[key];
|
|
28324
|
+
}
|
|
28323
28325
|
}
|
|
28324
28326
|
}
|
|
28325
28327
|
}
|
|
28326
28328
|
return a;
|
|
28327
28329
|
}
|
|
28328
|
-
|
|
28329
|
-
|
|
28330
|
+
deepUpdateObject(SYS_GLOBAL_OBJ_REFS[ref_field_id], obj);
|
|
28331
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id] = obj;
|
|
28330
28332
|
ret = true;
|
|
28331
28333
|
}
|
|
28332
28334
|
|