forked from github/dataease
refactor: s2配置调整
This commit is contained in:
parent
a6e47c82a2
commit
62f7cdd5e0
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user