From a32680376f672028b1fe364860561d1cee67bd69 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Thu, 22 Aug 2024 23:52:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8-=E7=83=AD=E5=8A=9B?= =?UTF-8?q?=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/manage/ChartDataManage.java | 3 +- .../drag-item/components/CustomSortEdit.vue | 2 +- .../views/chart/components/editor/index.vue | 2 +- .../js/panel/charts/table/t-heatmap.ts | 54 +++++++++++-------- 4 files changed, 37 insertions(+), 24 deletions(-) diff --git a/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java b/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java index f689f7c77d..4e4d8a9c2c 100644 --- a/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java +++ b/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java @@ -621,7 +621,8 @@ public class ChartDataManage { if (StringUtils.equalsIgnoreCase(view.getType(), "table-pivot") || StringUtils.containsIgnoreCase(view.getType(), "group") || ("antv".equalsIgnoreCase(view.getRender()) && "line".equalsIgnoreCase(view.getType())) - || StringUtils.equalsIgnoreCase(view.getType(), "flow-map")) { + || StringUtils.equalsIgnoreCase(view.getType(), "flow-map") + || StringUtils.equalsIgnoreCase(view.getType(), "t-heatmap")) { xAxis.addAll(xAxisExt); } List yAxis = new ArrayList<>(view.getYAxis()); diff --git a/core/core-frontend/src/views/chart/components/editor/drag-item/components/CustomSortEdit.vue b/core/core-frontend/src/views/chart/components/editor/drag-item/components/CustomSortEdit.vue index 9db974c3b8..eb666a424b 100644 --- a/core/core-frontend/src/views/chart/components/editor/drag-item/components/CustomSortEdit.vue +++ b/core/core-frontend/src/views/chart/components/editor/drag-item/components/CustomSortEdit.vue @@ -101,7 +101,7 @@ init()