[improvement] Field: add left-icon slot (#1973)

This commit is contained in:
neverland
2018-10-24 21:17:50 +08:00
committed by GitHub
parent d0b8595b50
commit dd9d0e856b
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@
'min-height': type === 'textarea' && !autosize
})"
>
<slot name="left-icon" slot="icon" />
<slot name="label" slot="title" />
<div :class="b('body')">
<textarea