Преглед изворни кода

style: contact us 页面enquiry textarea默认高度调整.

peter пре 7 месеци
родитељ
комит
aea452efda
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      pages/home/contactus.vue

+ 1 - 0
pages/home/contactus.vue

@@ -32,6 +32,7 @@
           :label="item.placeholder"
           :key="item.label">
           <el-input
+            :rows="item.type === 'textarea' ? 6 : 1"
             :type="item.type"
             size="small"
             :name="item.prop"