Browse Source

开放选项的输入框调整为多行的textarea,并增加了高度

zhudengkai 4 years ago
parent
commit
2b29cdaa0d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/components/WebQn.vue

+ 5 - 1
src/components/WebQn.vue

@@ -483,7 +483,8 @@ export default {
         this.$prompt(selectedOpt.openOptionTips, "请填写", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
-          customClass: "select-open-dialog"
+          customClass: "select-open-dialog",
+          inputType: "textarea"
         }).then(({ value }) => {
           console.log(`Dialog value: ${value}, `);
           this.$set(this.selectedOpenList, this.selectedOpenList.length, {
@@ -853,4 +854,7 @@ export default {
 .select-open-dialog {
   width: 50%;
 }
+.select-open-dialog textarea{
+    height: 100px;
+}
 </style>