Merge pull request #4092 from dataease/pr@dev@feat_panel-style

feat(仪表板): 仪表板样式及主题设置支持视图背景图
This commit is contained in:
王嘉豪 2022-12-14 16:38:33 +08:00 committed by GitHub
commit 7fe5c13aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {