[Improvement] Field: support autosize maxHeight & minHeight (#718)

This commit is contained in:
neverland
2018-03-19 11:06:46 +08:00
committed by GitHub
parent 4ae26ac8be
commit 326b2d4c51
5 changed files with 69 additions and 25 deletions

View File

@@ -53,7 +53,7 @@
type="textarea"
:placeholder="$t('messagePlaceholder')"
rows="1"
autosize
:autosize="{ maxHeight: 100, minHeight: 40 }"
/>
</van-cell-group>
</demo-block>