@xuda.io/runtime-bundle 1.0.1313 → 1.0.1314

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.
@@ -28169,7 +28169,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28169
28169
  const proxy = new Proxy(target, {
28170
28170
  set(obj, prop, value) {
28171
28171
  const oldValue = obj[prop];
28172
- const currentPath = [...path, prop];
28172
+ let currentPath = [...path, prop];
28173
28173
 
28174
28174
  // Set the new value
28175
28175
  obj[prop] = value;
@@ -28181,9 +28181,9 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28181
28181
 
28182
28182
  // Notify of change
28183
28183
  if (oldValue !== value) {
28184
- let cleanPath = currentPath.shift();
28184
+ currentPath.shift();
28185
28185
  onChange({
28186
- path: cleanPath.join('.'),
28186
+ path: currentPath.join('.'),
28187
28187
  oldValue,
28188
28188
  newValue: value,
28189
28189
  type: 'set',