From 068b9778e5288ee4349165c4fc43f2edd60185c5 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 29 May 2025 18:20:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E5=9B=BE?= =?UTF-8?q?=E5=BD=A2=E5=92=8C=E5=9B=BE=E6=A0=87=E6=94=AF=E6=8C=81=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=86=85=E8=BE=B9=E8=B7=9D=E8=B0=83=E6=95=B4=E4=B8=BA?= =?UTF-8?q?0=20#16143?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/canvasStyle.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/utils/canvasStyle.ts b/core/core-frontend/src/utils/canvasStyle.ts index dedb1904fc..4954be3c8f 100644 --- a/core/core-frontend/src/utils/canvasStyle.ts +++ b/core/core-frontend/src/utils/canvasStyle.ts @@ -502,9 +502,16 @@ export function adaptCurThemeCommonStyle(component) { // 背景融合-Begin 如果是大屏['CanvasBoard', 'CanvasIcon', 'Picture']组件不需要设置背景 if ( dvMainStore.dvInfo.type === 'dataV' && - ['CanvasBoard', 'CanvasIcon', 'Picture', 'Group', 'SvgTriangle', 'SvgStar'].includes( - component.component - ) + [ + 'CanvasBoard', + 'CanvasIcon', + 'Picture', + 'Group', + 'SvgTriangle', + 'SvgStar', + 'RectShape', + 'CircleShape' + ].includes(component.component) ) { component.commonBackground['backgroundColorSelect'] = false component.commonBackground['innerPadding'] = 0