Переглянути джерело

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"