mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 13:58:26 +08:00
refactor(数据大屏): 图形组件增加Svg矢量图形
This commit is contained in:
@@ -11,7 +11,7 @@ export const styleData = [
|
||||
{ key: 'borderWidth', label: '边框宽度', min: 0, max: 20, step: 1 },
|
||||
{ key: 'borderStyle', label: '边框风格' },
|
||||
{ key: 'borderColor', label: '边框颜色' },
|
||||
{ key: 'borderRadius', label: '边框半径', min: 0, max: 50, step: 1 },
|
||||
{ key: 'borderRadius', label: '圆角', min: 0, max: 50, step: 1 },
|
||||
{ key: 'letterSpacing', label: '字间距', min: 0, max: 50, step: 1 },
|
||||
{ key: 'fontSize', label: '字体大小', min: 0, max: 128, step: 1 },
|
||||
{ key: 'activeFontSize', label: '激活字体大小', min: 0, max: 128, step: 1 },
|
||||
@@ -38,7 +38,7 @@ export const styleMap = {
|
||||
borderWidth: '边框宽度',
|
||||
borderStyle: '边框风格',
|
||||
borderColor: '边框颜色',
|
||||
borderRadius: '边框半径',
|
||||
borderRadius: '圆角',
|
||||
fontSize: '字体大小',
|
||||
fontWeight: '字体粗细',
|
||||
lineHeight: '行高',
|
||||
|
||||
@@ -381,7 +381,9 @@ export function adaptCurThemeCommonStyle(component) {
|
||||
// 背景融合-Begin 如果是大屏['CanvasBoard', 'CanvasIcon', 'Picture']组件不需要设置背景
|
||||
if (
|
||||
dvMainStore.dvInfo.type === 'dataV' &&
|
||||
['CanvasBoard', 'CanvasIcon', 'Picture', 'Group'].includes(component.component)
|
||||
['CanvasBoard', 'CanvasIcon', 'Picture', 'Group', 'SvgTriangle', 'SvgStar'].includes(
|
||||
component.component
|
||||
)
|
||||
) {
|
||||
component.commonBackground['backgroundColorSelect'] = false
|
||||
component.commonBackground['innerPadding'] = 0
|
||||
|
||||
Reference in New Issue
Block a user