@xuda.io/xuda-worker-bundle-min 1.3.868 → 1.3.870
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 +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2486,6 +2486,7 @@ func.datasource.execute = async function (
|
|
|
2486
2486
|
"after_record"
|
|
2487
2487
|
);
|
|
2488
2488
|
};
|
|
2489
|
+
_ds.data_feed.rows = [];
|
|
2489
2490
|
let _raw_data_rows = [];
|
|
2490
2491
|
switch (tree_obj.menuType) {
|
|
2491
2492
|
case "api": {
|
|
@@ -2737,7 +2738,7 @@ func.datasource.execute = async function (
|
|
|
2737
2738
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
2738
2739
|
|
|
2739
2740
|
let rows = _ds?.v.raw_data?.rows?.length;
|
|
2740
|
-
|
|
2741
|
+
|
|
2741
2742
|
_ds.data_feed.rows_changed = [];
|
|
2742
2743
|
_ds.data_feed.rows_deleted = [];
|
|
2743
2744
|
_ds.data_feed.rows_added = [];
|
|
@@ -3194,7 +3195,7 @@ func.datasource.run_rows_form = async function (
|
|
|
3194
3195
|
var idx = rowIdxP;
|
|
3195
3196
|
|
|
3196
3197
|
const find_ROWID_idx_from_raw_data_arr = function (rowId) {
|
|
3197
|
-
if (!
|
|
3198
|
+
if (!_ds?.v?.raw_data?.rows) {
|
|
3198
3199
|
throw new Error("ds.v.raw_data.rows not found");
|
|
3199
3200
|
}
|
|
3200
3201
|
|