@xuda.io/runtime-bundle 1.0.1099 → 1.0.1101
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.
|
@@ -34557,8 +34557,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34557
34557
|
const draw_html_element = async function (element) {
|
|
34558
34558
|
const done = async function (ret = {}) {
|
|
34559
34559
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34560
|
-
|
|
34560
|
+
|
|
34561
34561
|
if (ret.has_xu_exp_render_attribute) {
|
|
34562
|
+
$div.css('display', 'unset');
|
|
34562
34563
|
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
34563
34564
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
34564
34565
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
@@ -34568,14 +34569,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34568
34569
|
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
34569
34570
|
return $div;
|
|
34570
34571
|
} else {
|
|
34572
|
+
$div.css('display', 'unset');
|
|
34571
34573
|
temp_$div.replaceWith($div);
|
|
34572
34574
|
return $div;
|
|
34573
34575
|
}
|
|
34574
34576
|
} else {
|
|
34575
|
-
// $container.append(temp_$container.children());
|
|
34576
34577
|
if (ret.has_xu_render_attribute) {
|
|
34577
|
-
|
|
34578
|
+
temp_$div.remove();
|
|
34579
|
+
return $div;
|
|
34578
34580
|
}
|
|
34581
|
+
$div.css('display', 'unset');
|
|
34579
34582
|
temp_$div.replaceWith($div);
|
|
34580
34583
|
return $div;
|
|
34581
34584
|
}
|