diff --git a/frontend/src/components/canvas/components/TextAttr.vue b/frontend/src/components/canvas/components/TextAttr.vue index a21ace722f..d95e0dcf9b 100644 --- a/frontend/src/components/canvas/components/TextAttr.vue +++ b/frontend/src/components/canvas/components/TextAttr.vue @@ -247,7 +247,8 @@ export default { 'borderWidth', 'borderRadius', 'opacity', - 'borderColor' + 'borderColor', + 'backgroundColor' ], // 时间组件显示的属性 'de-show-date': [ diff --git a/frontend/src/components/canvas/custom-component/component-list.js b/frontend/src/components/canvas/custom-component/component-list.js index 7987323c9e..01f4359cb5 100644 --- a/frontend/src/components/canvas/custom-component/component-list.js +++ b/frontend/src/components/canvas/custom-component/component-list.js @@ -231,7 +231,6 @@ const list = [ width: 250, height: 100, fontSize: 22, - fontWeight: 400, lineHeight: '', letterSpacing: 0, @@ -239,13 +238,11 @@ const list = [ color: '#000000', verticalAlign: 'middle', backgroundColor: '#ffffff', - borderStyle: 'solid', - borderWidth: 1, borderColor: '#000000', borderRadius: 0, /* margin: 10, */ - time_margin: 10 + time_margin: 0 }, formatInfo: { openMode: '0',