mirror of https://github.com/ElemeFE/element
support append prepend slot (#1709)
parent
105db7c673
commit
36261b6534
|
@ -17,6 +17,12 @@
|
|||
:class="{
|
||||
'is-active': inputActive
|
||||
}">
|
||||
<template slot="prepend" v-if="$slots.prepend">
|
||||
<slot name="prepend"></slot>
|
||||
</template>
|
||||
<template slot="append" v-if="$slots.append">
|
||||
<slot name="append"></slot>
|
||||
</template>
|
||||
</el-input>
|
||||
<span
|
||||
v-if="controls"
|
||||
|
|
Loading…
Reference in New Issue