From 65cd1135132a2ab42e8a71acfacff53210999b81 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 29 Mar 2022 21:25:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E8=A7=86=E5=9B=BE=E9=BB=98=E8=AE=A4=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=EF=BC=8C=E4=BC=98=E5=85=88=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/custom-component/component-list.js | 4 ++-- frontend/src/views/chart/chart/chart.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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: {