@xuda.io/runtime-bundle 1.0.628 → 1.0.629
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
|
@@ -14557,16 +14557,18 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14557
14557
|
return (ret.$new_div = $('<template>').append($div));
|
|
14558
14558
|
}
|
|
14559
14559
|
|
|
14560
|
-
let
|
|
14560
|
+
let $ret_panel_div = ret.$new_div;
|
|
14561
14561
|
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
debugger;
|
|
14568
|
-
await done(default_children_ret);
|
|
14562
|
+
if (!$ret_panel_div.children().length) {
|
|
14563
|
+
////// render default children tree
|
|
14564
|
+
if (nodeP.children.length) {
|
|
14565
|
+
$ret_panel_div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
|
|
14566
|
+
}
|
|
14569
14567
|
}
|
|
14568
|
+
|
|
14569
|
+
let ret_done = await done($ret_panel_div);
|
|
14570
|
+
|
|
14571
|
+
return ret_done;
|
|
14570
14572
|
},
|
|
14571
14573
|
};
|
|
14572
14574
|
|
|
@@ -12288,16 +12288,18 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12288
12288
|
return (ret.$new_div = $('<template>').append($div));
|
|
12289
12289
|
}
|
|
12290
12290
|
|
|
12291
|
-
let
|
|
12291
|
+
let $ret_panel_div = ret.$new_div;
|
|
12292
12292
|
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
debugger;
|
|
12299
|
-
await done(default_children_ret);
|
|
12293
|
+
if (!$ret_panel_div.children().length) {
|
|
12294
|
+
////// render default children tree
|
|
12295
|
+
if (nodeP.children.length) {
|
|
12296
|
+
$ret_panel_div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
|
|
12297
|
+
}
|
|
12300
12298
|
}
|
|
12299
|
+
|
|
12300
|
+
let ret_done = await done($ret_panel_div);
|
|
12301
|
+
|
|
12302
|
+
return ret_done;
|
|
12301
12303
|
},
|
|
12302
12304
|
};
|
|
12303
12305
|
|