From 06a28fa1f4cec75ed0eb1c4379f3d782f2200a28 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Fri, 8 Dec 2023 14:27:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E4=BD=BF=E7=94=A8=E5=8E=9F=E6=9C=89=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=85=B6=E4=BB=96=E8=A7=86=E5=9B=BE=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E6=A0=B7=E5=BC=8F=EF=BC=8C=E4=B8=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=96=91=E9=A9=AC=E7=BA=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/canvas/customComponent/UserView.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index 2a5e8ff15e..a5c3b61b28 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -1025,10 +1025,13 @@ export default { const tableChart = deepCopy(this.chart) tableChart.customAttr = JSON.parse(this.chart.customAttr) tableChart.customStyle = JSON.parse(this.chart.customStyle) - tableChart.customAttr.color.tableHeaderBgColor = '#f8f8f9' - tableChart.customAttr.color.tableItemBgColor = '#ffffff' - tableChart.customAttr.color.tableHeaderFontColor = '#7c7e81' - tableChart.customAttr.color.tableFontColor = '#7c7e81' + if (!this.chart.type?.includes('table')) { + tableChart.customAttr.color.tableHeaderBgColor = '#f8f8f9' + tableChart.customAttr.color.tableItemBgColor = '#ffffff' + tableChart.customAttr.color.tableHeaderFontColor = '#7c7e81' + tableChart.customAttr.color.tableFontColor = '#7c7e81' + tableChart.customAttr.color.enableTableCrossBG = false + } tableChart.customAttr.color.tableStripe = true tableChart.customAttr.size.tablePageMode = 'pull' tableChart.customStyle.text.show = false