@xuda.io/runtime-bundle 1.0.628 → 1.0.630
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.
|
@@ -32938,7 +32938,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32938
32938
|
continue;
|
|
32939
32939
|
}
|
|
32940
32940
|
|
|
32941
|
-
if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
|
|
32941
|
+
// if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
|
|
32942
|
+
// continue;
|
|
32943
|
+
// }
|
|
32944
|
+
|
|
32945
|
+
if (_.isEmpty(nodeP.attributes)) {
|
|
32942
32946
|
continue;
|
|
32943
32947
|
}
|
|
32944
32948
|
|
|
@@ -34247,16 +34251,18 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34247
34251
|
return (ret.$new_div = $('<template>').append($div));
|
|
34248
34252
|
}
|
|
34249
34253
|
|
|
34250
|
-
let
|
|
34254
|
+
let $ret_panel_div = ret.$new_div;
|
|
34251
34255
|
|
|
34252
|
-
|
|
34253
|
-
|
|
34254
|
-
|
|
34255
|
-
|
|
34256
|
-
|
|
34257
|
-
debugger;
|
|
34258
|
-
await done(default_children_ret);
|
|
34256
|
+
if (!$ret_panel_div.children().length) {
|
|
34257
|
+
////// render default children tree
|
|
34258
|
+
if (nodeP.children.length) {
|
|
34259
|
+
$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);
|
|
34260
|
+
}
|
|
34259
34261
|
}
|
|
34262
|
+
|
|
34263
|
+
let ret_done = await done($ret_panel_div);
|
|
34264
|
+
|
|
34265
|
+
return ret_done;
|
|
34260
34266
|
},
|
|
34261
34267
|
};
|
|
34262
34268
|
|