From 78f293ce6fe8275d4ddfdfbd76c58768f4f37955 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 13 Jun 2024 17:25:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E8=A1=A8=E7=9A=84=E5=88=86=E9=A1=B5=EF=BC=8C=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E8=87=AA=E5=AE=9A=E4=B9=89=E8=BE=93=E5=85=A5=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E5=A4=9A=E5=B0=91=E9=A1=B5=20#9672?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/components/ChartComponentS2.vue | 18 ++++++++++++++++-- .../visualized/data/dataset/form/index.vue | 9 +++++++-- .../views/visualized/data/dataset/index.vue | 6 +++++- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index 36ad010fea..3a8c5930e9 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -464,8 +464,16 @@ const autoHeightStyle = computed(() => { }) const tabStyle = computed(() => [ - { '--de-pager-color': canvasStyleData.value.component.seniorStyleSetting.pagerColor } + { '--de-pager-color': canvasStyleData.value.component.seniorStyleSetting?.pagerColor } ]) + +const tablePageClass = computed(() => { + return ( + ['#ffffff', '#A6A6A6FF'].includes( + canvasStyleData.value.component.seniorStyleSetting?.pagerColor + ) && 'table-page-info_dark' + ) +})