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
|
|
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];
|