field component

This commit is contained in:
cookfront
2017-02-14 17:17:10 +08:00
parent fb7089fd35
commit 00848c6ea4
2 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
class="o2-field"
:title="label"
:class="{
'is-textarea': type === 'textarea',
'is-nolabel': !label
}">
<textarea