@xuda.io/runtime-bundle 1.0.1014 → 1.0.1015
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.
|
@@ -32386,34 +32386,33 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32386
32386
|
|
|
32387
32387
|
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).appendTo(tmp_$div).hide();
|
|
32388
32388
|
// // was true before
|
|
32389
|
-
|
|
32390
|
-
|
|
32391
|
-
|
|
32392
|
-
|
|
32393
|
-
|
|
32394
|
-
|
|
32395
|
-
|
|
32396
|
-
|
|
32397
|
-
|
|
32398
|
-
|
|
32399
|
-
|
|
32400
|
-
|
|
32401
|
-
|
|
32402
|
-
|
|
32403
|
-
|
|
32404
|
-
|
|
32405
|
-
|
|
32406
|
-
|
|
32389
|
+
if ($elm.data().xuData.xurender_node) {
|
|
32390
|
+
$xurender.data({
|
|
32391
|
+
xuAttributes: $elm.data().xuData.xurender_node.data().xuAttributes || {},
|
|
32392
|
+
xuData: $elm.data().xuData.xurender_node.data().xuData || {},
|
|
32393
|
+
});
|
|
32394
|
+
} else {
|
|
32395
|
+
// default new state
|
|
32396
|
+
|
|
32397
|
+
$xurender.data({
|
|
32398
|
+
xuAttributes: $elm.data().xuAttributes || {},
|
|
32399
|
+
xuData: $elm.data().xuData || {},
|
|
32400
|
+
});
|
|
32401
|
+
const original_data_obj = {
|
|
32402
|
+
nodeP: _.cloneDeep($elm.data().xuData.node_org),
|
|
32403
|
+
paramsP: $elm.data().xuData.paramsP,
|
|
32404
|
+
$container: $elm.clone(true),
|
|
32405
|
+
parent_infoP: parent_infoP,
|
|
32406
|
+
};
|
|
32407
32407
|
|
|
32408
|
-
|
|
32408
|
+
$xurender.data().xuData.original_data_obj = original_data_obj;
|
|
32409
32409
|
|
|
32410
|
-
|
|
32411
|
-
|
|
32412
|
-
|
|
32410
|
+
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
|
|
32411
|
+
if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
|
|
32412
|
+
UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
32413
|
+
}
|
|
32414
|
+
UI_WORKER_OBJ.xu_render_cache[xu_ui_id][cache_str] = original_data_obj;
|
|
32413
32415
|
}
|
|
32414
|
-
UI_WORKER_OBJ.xu_render_cache[xu_ui_id][cache_str] = original_data_obj;
|
|
32415
|
-
|
|
32416
|
-
// }
|
|
32417
32416
|
$elm.replaceWith(tmp_$div.children());
|
|
32418
32417
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
32419
32418
|
};
|