diff --git a/frontend/src/components/canvas/custom-component/component-list.js b/frontend/src/components/canvas/custom-component/component-list.js index 6b44b9322a..272d82fb5a 100644 --- a/frontend/src/components/canvas/custom-component/component-list.js +++ b/frontend/src/components/canvas/custom-component/component-list.js @@ -18,8 +18,8 @@ export const BASE_MOBILE_STYLE = { // 组件仪表板样式 export const COMMON_BACKGROUND = { - enable: false, - backgroundType: 'innerImage', + enable: true, + backgroundType: 'color', color: '#FFFFFF', innerImage: null, outerImage: null, diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index 5da618a310..c1135c2890 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -225,8 +225,8 @@ export const DEFAULT_YAXIS_EXT_STYLE = { } export const DEFAULT_BACKGROUND_COLOR = { color: '#ffffff', - alpha: 100, - borderRadius: 5 + alpha: 0, + borderRadius: 0 } export const DEFAULT_SPLIT = { name: {