소스 검색

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"