From 62f7cdd5e0068fbc07dfcaf8213c89aa2443b436 Mon Sep 17 00:00:00 2001 From: junjun Date: Wed, 9 Mar 2022 11:06:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20s2=E9=85=8D=E7=BD=AE=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/application.properties | 2 +- frontend/src/views/chart/chart/common/common_table.js | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 89396ba266..0252b24e14 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -85,7 +85,7 @@ server.compression.enabled=true server.compression.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain server.compression.min-response-size=1024 -#下面的配置新增到/opt/dataease/conf/dataease/properties +#下面的配置新增到/opt/dataease/conf/dataease.properties #spring.redis.database=0 #spring.redis.host=192.168.0.110 #spring.redis.port=6379 diff --git a/frontend/src/views/chart/chart/common/common_table.js b/frontend/src/views/chart/chart/common/common_table.js index 4ffed26eeb..23f1a32b73 100644 --- a/frontend/src/views/chart/chart/common/common_table.js +++ b/frontend/src/views/chart/chart/common/common_table.js @@ -77,6 +77,11 @@ export function getCustomTheme(chart) { fill: DEFAULT_COLOR_CASE.tableFontColor, fontSize: DEFAULT_SIZE.tableItemFontSize, textAlign: itemAlign + }, + bolderText: { + fill: DEFAULT_COLOR_CASE.tableFontColor, + fontSize: DEFAULT_SIZE.tableItemFontSize, + textAlign: itemAlign } } } @@ -114,6 +119,7 @@ export function getCustomTheme(chart) { theme.dataCell.cell.backgroundColor = i_c theme.dataCell.cell.horizontalBorderColor = b_c theme.dataCell.cell.verticalBorderColor = b_c + theme.dataCell.bolderText.fill = c.tableFontColor theme.dataCell.text.fill = c.tableFontColor } // size @@ -137,6 +143,8 @@ export function getCustomTheme(chart) { theme.colCell.text.fontSize = parseInt(s.tableTitleFontSize) theme.colCell.text.textAlign = h_a + theme.dataCell.bolderText.fontSize = parseInt(s.tableItemFontSize) + theme.dataCell.bolderText.textAlign = i_a theme.dataCell.text.fontSize = parseInt(s.tableItemFontSize) theme.dataCell.text.textAlign = i_a }