diff --git a/frontend/src/components/canvas/components/TextAttr.vue b/frontend/src/components/canvas/components/TextAttr.vue index 1946ad107d..27817dcbe7 100644 --- a/frontend/src/components/canvas/components/TextAttr.vue +++ b/frontend/src/components/canvas/components/TextAttr.vue @@ -253,7 +253,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 042b93abc3..fc972229e1 100644 --- a/frontend/src/components/canvas/custom-component/component-list.js +++ b/frontend/src/components/canvas/custom-component/component-list.js @@ -268,7 +268,6 @@ const list = [ width: 250, height: 100, fontSize: 22, - fontWeight: 400, lineHeight: '', letterSpacing: 0, @@ -276,13 +275,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',