提交 62f7cdd5 authored 作者: junjun's avatar junjun

refactor: s2配置调整

上级 a6e47c82
...@@ -85,7 +85,7 @@ server.compression.enabled=true ...@@ -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.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
server.compression.min-response-size=1024 server.compression.min-response-size=1024
#下面的配置新增到/opt/dataease/conf/dataease/properties #下面的配置新增到/opt/dataease/conf/dataease.properties
#spring.redis.database=0 #spring.redis.database=0
#spring.redis.host=192.168.0.110 #spring.redis.host=192.168.0.110
#spring.redis.port=6379 #spring.redis.port=6379
......
...@@ -77,6 +77,11 @@ export function getCustomTheme(chart) { ...@@ -77,6 +77,11 @@ export function getCustomTheme(chart) {
fill: DEFAULT_COLOR_CASE.tableFontColor, fill: DEFAULT_COLOR_CASE.tableFontColor,
fontSize: DEFAULT_SIZE.tableItemFontSize, fontSize: DEFAULT_SIZE.tableItemFontSize,
textAlign: itemAlign textAlign: itemAlign
},
bolderText: {
fill: DEFAULT_COLOR_CASE.tableFontColor,
fontSize: DEFAULT_SIZE.tableItemFontSize,
textAlign: itemAlign
} }
} }
} }
...@@ -114,6 +119,7 @@ export function getCustomTheme(chart) { ...@@ -114,6 +119,7 @@ export function getCustomTheme(chart) {
theme.dataCell.cell.backgroundColor = i_c theme.dataCell.cell.backgroundColor = i_c
theme.dataCell.cell.horizontalBorderColor = b_c theme.dataCell.cell.horizontalBorderColor = b_c
theme.dataCell.cell.verticalBorderColor = b_c theme.dataCell.cell.verticalBorderColor = b_c
theme.dataCell.bolderText.fill = c.tableFontColor
theme.dataCell.text.fill = c.tableFontColor theme.dataCell.text.fill = c.tableFontColor
} }
// size // size
...@@ -137,6 +143,8 @@ export function getCustomTheme(chart) { ...@@ -137,6 +143,8 @@ export function getCustomTheme(chart) {
theme.colCell.text.fontSize = parseInt(s.tableTitleFontSize) theme.colCell.text.fontSize = parseInt(s.tableTitleFontSize)
theme.colCell.text.textAlign = h_a 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.fontSize = parseInt(s.tableItemFontSize)
theme.dataCell.text.textAlign = i_a theme.dataCell.text.textAlign = i_a
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论