mirror of
https://github.com/dataease/dataease.git
synced 2026-05-24 06:18:10 +08:00
fix: 主题设置 表格样式跟随问题
This commit is contained in:
@@ -68,6 +68,7 @@ export default {
|
||||
title: '',
|
||||
customAttr: JSON.stringify({
|
||||
color: DEFAULT_COLOR_CASE,
|
||||
tableColor: DEFAULT_COLOR_CASE,
|
||||
size: DEFAULT_SIZE,
|
||||
label: DEFAULT_LABEL,
|
||||
tooltip: DEFAULT_TOOLTIP
|
||||
@@ -148,7 +149,11 @@ export default {
|
||||
// 组件样式-背景设置
|
||||
customStyleChart.background = customStylePanel.background
|
||||
// 图形属性-颜色设置
|
||||
customAttrChart.color = customAttrPanel.color
|
||||
if (this.chart.type.includes('table')) {
|
||||
customAttrChart.color = customAttrPanel.tableColor
|
||||
} else {
|
||||
customAttrChart.color = customAttrPanel.color
|
||||
}
|
||||
|
||||
this.chart = {
|
||||
...this.chart,
|
||||
|
||||
Reference in New Issue
Block a user