@xuda.io/runtime-bundle 1.0.579 → 1.0.580
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12368,7 +12368,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12368
12368
|
[`xu-teleport`]: {
|
|
12369
12369
|
to: async function ($elm, val) {
|
|
12370
12370
|
if (val.value) {
|
|
12371
|
-
if ($elm
|
|
12371
|
+
if ($elm?.parent()?.data()?.xuData?.length) {
|
|
12372
12372
|
$elm.parent().data('xuTeleportData', []);
|
|
12373
12373
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
12374
12374
|
const $teleport_elm = await func.UI.screen.render_ui_tree(SESSION_ID, $(val.value), node, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, node, null, $root_container);
|
|
@@ -10100,7 +10100,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10100
10100
|
[`xu-teleport`]: {
|
|
10101
10101
|
to: async function ($elm, val) {
|
|
10102
10102
|
if (val.value) {
|
|
10103
|
-
if ($elm
|
|
10103
|
+
if ($elm?.parent()?.data()?.xuData?.length) {
|
|
10104
10104
|
$elm.parent().data('xuTeleportData', []);
|
|
10105
10105
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
10106
10106
|
const $teleport_elm = await func.UI.screen.render_ui_tree(SESSION_ID, $(val.value), node, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, node, null, $root_container);
|