Commit 36261b65 authored by baiyaaaaa's avatar baiyaaaaa Committed by cinwell.li

support append prepend slot (#1709)

parent 105db7c6
...@@ -17,6 +17,12 @@ ...@@ -17,6 +17,12 @@
:class="{ :class="{
'is-active': inputActive '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> </el-input>
<span <span
v-if="controls" v-if="controls"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment