Эх сурвалжийг харах

文本内容改为textArea

Stefan Zhu 2 жил өмнө
parent
commit
261f94cb0a

+ 1 - 1
report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-text.js

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

+ 1 - 1
report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetText.vue

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