@xuda.io/runtime-bundle 1.0.1049 → 1.0.1051

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.
@@ -32356,7 +32356,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32356
32356
  };
32357
32357
 
32358
32358
  const post_render = async function () {
32359
- let nodeP = $container.data().xuData.node[keyP];
32359
+ let nodeP = $container.data().xuData.node.children[keyP];
32360
32360
  nodeP.xu_render_made = value;
32361
32361
  if (value) {
32362
32362
  try {
@@ -34503,15 +34503,15 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34503
34503
  }
34504
34504
  const done = async function (ret = {}) {
34505
34505
  if (glb.new_xu_render) {
34506
+ const xu_ui_id = $div.attr('xu-ui-id');
34507
+ if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
34508
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
34509
+ }
34510
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
34511
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
34512
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
34513
+ nodeP.xu_render_cache_id = xu_render_cache_id;
34506
34514
  if (ret.xu_render_in_process) {
34507
- const xu_ui_id = $div.attr('xu-ui-id');
34508
- if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
34509
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
34510
- }
34511
- const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
34512
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
34513
- nodeP.xu_render_xu_ui_id = xu_ui_id;
34514
- nodeP.xu_render_cache_id = xu_render_cache_id;
34515
34515
  return $div;
34516
34516
  } else {
34517
34517
  $container.append(temp_$container.children());