Quellcode durchsuchen

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

peter vor 7 Monaten
Ursprung
Commit
aea452efda
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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"