@xuda.io/xuda-worker-bundle-min 1.3.884 → 1.3.886

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.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2385,7 +2385,7 @@ func.datasource.execute = async function (
2385
2385
  );
2386
2386
  _ds.rows_found = ret_rows_found?.rows?.[0]?.value || 0;
2387
2387
  } else {
2388
- _ds.rows_found = ds?.v?.raw_data?.rows?.length || 0;
2388
+ _ds.rows_found = _ds?.v?.raw_data?.rows?.length || 0;
2389
2389
  }
2390
2390
  break;
2391
2391
 
@@ -2754,7 +2754,10 @@ func.datasource.execute = async function (
2754
2754
  }
2755
2755
 
2756
2756
  const row_not_found = async function () {
2757
- if (tree_obj.rwMode === "U" && tree_obj.allowCreate) {
2757
+ if (
2758
+ !prog_obj.progDataSource?.dataSourceType ||
2759
+ (tree_obj.rwMode === "U" && tree_obj.allowCreate)
2760
+ ) {
2758
2761
  _ds.currentRecordId = "newRecord";
2759
2762
  _ds.set_mode = "C";
2760
2763
  _ds.record_not_found = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.884",
3
+ "version": "1.3.886",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {