mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 01:38:11 +08:00
refactor(图表): 图形和图标支持设置内边距调整为0 #16143
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user