diff --git a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue index d1ae6ed838..b12e2cae6c 100644 --- a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue +++ b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue @@ -103,8 +103,20 @@ /> - - + + + + + { } merge(viewInfo['customAttr'], tmpValue) } else { + console.log('viewInfo=' + JSON.stringify(viewInfo['customAttr'])) + console.log('value=' + JSON.stringify(value)) merge(viewInfo['customAttr'], value) + console.log('merge=' + JSON.stringify(viewInfo['customAttr'])) } } else { Object.keys(value).forEach(function (key) { diff --git a/core/core-frontend/src/views/chart/components/editor/util/chart.ts b/core/core-frontend/src/views/chart/components/editor/util/chart.ts index 7dfc59d4dd..0ec56b9219 100644 --- a/core/core-frontend/src/views/chart/components/editor/util/chart.ts +++ b/core/core-frontend/src/views/chart/components/editor/util/chart.ts @@ -103,7 +103,7 @@ export const DEFAULT_COLOR_CASE_LIGHT: DeepPartial = { tableCell: { tableItemBgColor: '#FFFFFF', tableFontColor: '#000000', - tableItemSubBgColor: '#EEEEEE' + tableItemSubBgColor: '#1E90FF' } } @@ -154,7 +154,7 @@ export const DEFAULT_COLOR_CASE_DARK: DeepPartial = { tableCell: { tableItemBgColor: '#131E42', tableFontColor: '#ffffff', - tableItemSubBgColor: '#EEEEEE' + tableItemSubBgColor: '#1E90FF' } }