@xuda.io/xuda-worker-bundle-min 1.3.806 → 1.3.808
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 +8 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -312,8 +312,7 @@ func.common.db = async function (
|
|
|
312
312
|
if (
|
|
313
313
|
typeof val !== "undefined" &&
|
|
314
314
|
val !== null &&
|
|
315
|
-
!fields_to_delete.includes(key)
|
|
316
|
-
!_session?.DS_GLB?.[dsSession].refreshed
|
|
315
|
+
!fields_to_delete.includes(key)
|
|
317
316
|
) {
|
|
318
317
|
_data[key] = val;
|
|
319
318
|
}
|
|
@@ -351,9 +350,15 @@ func.common.db = async function (
|
|
|
351
350
|
return { code: -1, data: table_req_id };
|
|
352
351
|
}
|
|
353
352
|
};
|
|
354
|
-
// data.req_id = "rt_req_" + crypto.randomUUID();
|
|
355
353
|
|
|
356
354
|
const read_dbs_pouch = async function (db) {
|
|
355
|
+
if (_session?.DS_GLB?.[dsSession]?.refreshed && dataP.filterModel) {
|
|
356
|
+
return {
|
|
357
|
+
code: 1,
|
|
358
|
+
data: await func.db.pouch[serviceP](SESSION_ID, data),
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
|
|
357
362
|
const rep_id = get_rep_id();
|
|
358
363
|
|
|
359
364
|
const { code: table_req_code, data: table_req_id } =
|