文本内容改为textArea

Stefan Zhu 1 year ago
parent bd3754c73c
commit 261f94cb0a

@ -24,7 +24,7 @@ export const widgetText = {
value: '文本框', value: '文本框',
}, },
{ {
type: 'el-input-text', type: 'el-input-textarea',
label: '文本内容', label: '文本内容',
name: 'text', name: 'text',
required: false, required: false,

@ -41,7 +41,7 @@ export default {
left: this.transStyle.left + "px", left: this.transStyle.left + "px",
top: this.transStyle.top + "px", top: this.transStyle.top + "px",
right: this.transStyle.right + "px", right: this.transStyle.right + "px",
whiteSpace: this.transStyle.whiteSpace ? "pre-line": null whiteSpace: this.transStyle.whiteSpace ? "pre-line": "normal"
}; };
} }
}, },

Loading…
Cancel
Save