@xuda.io/runtime-bundle 1.0.1050 → 1.0.1052
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.
|
@@ -32350,9 +32350,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32350
32350
|
// $elm.remove();
|
|
32351
32351
|
// nodeP.xu_render_made = true;
|
|
32352
32352
|
|
|
32353
|
-
return { xu_render_in_process: true };
|
|
32353
|
+
return { has_xu_render_attribute: true, xu_render_in_process: true };
|
|
32354
32354
|
}
|
|
32355
|
-
return {};
|
|
32355
|
+
return { has_xu_render_attribute: true };
|
|
32356
32356
|
};
|
|
32357
32357
|
|
|
32358
32358
|
const post_render = async function () {
|
|
@@ -34503,7 +34503,7 @@ 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
|
-
if (ret.
|
|
34506
|
+
if (ret.has_xu_render_attribute) {
|
|
34507
34507
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34508
34508
|
if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
|
|
34509
34509
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
@@ -34512,7 +34512,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34512
34512
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
|
|
34513
34513
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
34514
34514
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|
|
34515
|
-
|
|
34515
|
+
if (ret.xu_render_in_process) {
|
|
34516
|
+
return $div;
|
|
34517
|
+
} else {
|
|
34518
|
+
$container.append(temp_$container.children());
|
|
34519
|
+
return $div;
|
|
34520
|
+
}
|
|
34516
34521
|
} else {
|
|
34517
34522
|
$container.append(temp_$container.children());
|
|
34518
34523
|
return $div;
|