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

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 +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1927,6 +1927,9 @@ func.datasource.execute = async function (
1927
1927
  debugger;
1928
1928
  let data = await get_data_from_source();
1929
1929
  console.log("data", data);
1930
+ if (!_ds.v.raw_data) {
1931
+ _ds.v.raw_data = { rows: [] };
1932
+ }
1930
1933
  for (const [_KEY, _VAL] of Object.keys(data)) {
1931
1934
  _ds.v.raw_data.rows[_KEY] = { _KEY, _VAL };
1932
1935
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.273",
3
+ "version": "1.3.274",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {