super-page-runtime 2.1.931 → 2.1.932

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.
@@ -200,7 +200,8 @@ function updateChartDatasources(pageContext2, dataSourceConfs, appendParams, isI
200
200
  if (componentObj.updateChartDatas) {
201
201
  componentObj.updateChartDatas(result[uuid]);
202
202
  if ((_b = (_a = chartConfig.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet) {
203
- const chartData = result[uuid] && result[uuid].result ? result[uuid].result : {};
203
+ const serviceData = result[uuid] && result[uuid].length > 0 ? result[uuid][0] : {};
204
+ const chartData = serviceData && serviceData.result ? serviceData.result : {};
204
205
  let datas = null;
205
206
  if (chartConfig.serviceDataField) {
206
207
  datas = result[chartConfig.dataSetField];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.1.931",
3
+ "version": "2.1.932",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",