@xuda.io/xuda-worker-bundle-min 1.3.2332 → 1.3.2334
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/index.js +15 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4354,16 +4354,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
|
|
|
4354
4354
|
var obj = _.clone(_session.DS_GLB[DS]);
|
|
4355
4355
|
|
|
4356
4356
|
delete obj.screen_params;
|
|
4357
|
-
if (obj.data_system) {
|
|
4358
|
-
delete obj.data_system.SYS_GLOBAL_OBJ_REFS;
|
|
4359
|
-
}
|
|
4360
|
-
try {
|
|
4361
|
-
clean_object_functions(obj);
|
|
4362
4357
|
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4358
|
+
// try {
|
|
4359
|
+
// clean_object_functions(obj);
|
|
4360
|
+
|
|
4361
|
+
// obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
|
|
4362
|
+
// } catch (e) {
|
|
4363
|
+
// console.error(e);
|
|
4364
|
+
// }
|
|
4367
4365
|
|
|
4368
4366
|
delete obj.pre_init_fields;
|
|
4369
4367
|
delete obj.oninit_triggers_to_run;
|
|
@@ -4393,6 +4391,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
|
|
|
4393
4391
|
|
|
4394
4392
|
delete obj.v;
|
|
4395
4393
|
clean_empty_objects();
|
|
4394
|
+
|
|
4395
|
+
try {
|
|
4396
|
+
clean_object_functions(obj);
|
|
4397
|
+
|
|
4398
|
+
obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
|
|
4399
|
+
} catch (e) {
|
|
4400
|
+
console.error(e);
|
|
4401
|
+
}
|
|
4396
4402
|
// clean_dataset();
|
|
4397
4403
|
return obj;
|
|
4398
4404
|
};
|