forked from github/dataease
fix(仪表板): 修复历史主题未适配高级配置的问题
This commit is contained in:
parent
1402252473
commit
0442380fb5
@ -4,7 +4,8 @@ import { deepCopy } from '@/utils/utils'
|
||||
import {
|
||||
BASE_VIEW_CONFIG,
|
||||
DEFAULT_INDICATOR_NAME_STYLE,
|
||||
DEFAULT_INDICATOR_STYLE
|
||||
DEFAULT_INDICATOR_STYLE,
|
||||
SENIOR_STYLE_SETTING_LIGHT
|
||||
} from '@/views/chart/components/editor/util/chart'
|
||||
import {
|
||||
DEFAULT_CANVAS_STYLE_DATA_DARK,
|
||||
@ -224,6 +225,8 @@ export const dvMainStore = defineStore('dataVisualization', {
|
||||
},
|
||||
|
||||
setCanvasStyle(style) {
|
||||
style.component['seniorStyleSetting'] =
|
||||
style.component['seniorStyleSetting'] || deepCopy(SENIOR_STYLE_SETTING_LIGHT)
|
||||
this.canvasStyleData = style
|
||||
},
|
||||
setCanvasViewInfo(canvasViewInfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user