From 590ce08afdd447fecfc3a96d01362487726c70e7 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 3 Apr 2024 15:21:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20AntV=20=E8=A1=A8=E6=A0=BC=E8=A1=A8=E5=A4=B4=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=90=8E=E7=82=B9=E5=87=BB=E8=8E=B7=E5=8F=96=E7=9A=84?= =?UTF-8?q?=E5=8D=95=E5=85=83=E6=A0=BC=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20#8888?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/views/chart/components/ChartComponentS2.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/frontend/src/views/chart/components/ChartComponentS2.vue b/core/frontend/src/views/chart/components/ChartComponentS2.vue index 2cb9548a74..40818d5376 100644 --- a/core/frontend/src/views/chart/components/ChartComponentS2.vue +++ b/core/frontend/src/views/chart/components/ChartComponentS2.vue @@ -331,11 +331,8 @@ export default { if (this.chart.type === 'table-pivot') { rowData = { ...meta.rowQuery, ...meta.colQuery } rowData[meta.valueField] = meta.fieldValue - } else if (this.showPage && (this.chart.datasetMode === 1 || (this.chart.datasetMode === 0 && this.not_support_page_dataset.includes(this.chart.datasourceType)))) { - const rowIndex = (this.currentPage.page - 1) * this.currentPage.pageSize + meta.rowIndex - rowData = this.chart.data.tableRow[rowIndex] } else { - rowData = this.chart.data.tableRow[meta.rowIndex] + rowData = this.myChart.dataSet.getRowData(meta) } const dimensionList = [] for (const key in rowData) {