forked from github/dataease
Merge pull request #4092 from dataease/pr@dev@feat_panel-style
feat(仪表板): 仪表板样式及主题设置支持视图背景图
This commit is contained in:
commit
7fe5c13aa3
@ -93,6 +93,7 @@ export function panelDataPrepare(componentData, componentStyle, callback) {
|
||||
if (componentStyle.chartCommonStyle) {
|
||||
componentStyle.chartCommonStyle.enable = componentStyle.chartCommonStyle.enable || false
|
||||
componentStyle.chartCommonStyle.backgroundType = componentStyle.chartCommonStyle.backgroundType || 'innerImage'
|
||||
componentStyle.chartCommonStyle.innerImageColor = componentStyle.chartCommonStyle.innerImageColor || '#1094E5'
|
||||
componentStyle.chartCommonStyle.innerImage = componentStyle.chartCommonStyle.innerImage || 'board/blue_1.svg'
|
||||
componentStyle.chartCommonStyle.outerImage = componentStyle.chartCommonStyle.outerImage || null
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user