From 282a13475bbcee171c56a316cf76cabbeab1e32d Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 22 Nov 2022 12:57:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A7=86=E5=9B=BE):=20=E9=80=8F=E8=A7=86?= =?UTF-8?q?=E8=A1=A8=E8=A1=8C=E6=B1=87=E6=80=BB=E6=94=AF=E6=8C=81=E6=8C=89?= =?UTF-8?q?=E5=90=88=E8=AE=A1=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/table/table-info.js | 1 + frontend/src/views/chart/components/shapeAttr/TotalCfg.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/chart/table/table-info.js b/frontend/src/views/chart/chart/table/table-info.js index 5e7a7d552f..3d12c5cc62 100644 --- a/frontend/src/views/chart/chart/table/table-info.js +++ b/frontend/src/views/chart/chart/table/table-info.js @@ -435,6 +435,7 @@ export function baseTablePivot(s2, container, chart, action, tableData) { } sortParams.push(sort) } + totalCfg.col.totalSort = false if (totalCfg.col.totalSort && totalCfg.col.totalSort !== 'none' && r.length > 0 && totalCfg.col.showGrandTotals) { const sort = { sortFieldId: r[0], diff --git a/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue b/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue index bac489ec89..49ef97efe2 100644 --- a/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue +++ b/frontend/src/views/chart/components/shapeAttr/TotalCfg.vue @@ -225,7 +225,7 @@ @@ -239,7 +239,7 @@