@xuda.io/xuda-worker-bundle-min 1.3.274 → 1.3.276

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 +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1930,8 +1930,10 @@ func.datasource.execute = async function (
1930
1930
  if (!_ds.v.raw_data) {
1931
1931
  _ds.v.raw_data = { rows: [] };
1932
1932
  }
1933
- for (const [_KEY, _VAL] of Object.keys(data)) {
1934
- _ds.v.raw_data.rows[_KEY] = { _KEY, _VAL };
1933
+ let _KEY = 0;
1934
+ for (const _VAL of data) {
1935
+ _ds.v.raw_data.rows[_KEY] = { id: _KEY, value: { _KEY, _VAL } };
1936
+ _KEY++;
1935
1937
  }
1936
1938
  break;
1937
1939
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.274",
3
+ "version": "1.3.276",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {