AutoComplete add capture prop

This commit is contained in:
梁灏 2021-05-26 10:07:07 +08:00
parent 905c625744
commit c48e0af2d4

View file

@ -16,7 +16,9 @@
:remote-method="remoteMethod" :remote-method="remoteMethod"
@on-select="handleSelect" @on-select="handleSelect"
@on-clickoutside="handleClickOutside" @on-clickoutside="handleClickOutside"
:transfer="transfer"> :transfer="transfer"
:capture="capture"
>
<slot name="input"> <slot name="input">
<i-input <i-input
:element-id="elementId" :element-id="elementId"
@ -108,6 +110,13 @@
}, },
transferClassName: { transferClassName: {
type: String type: String
},
// 4.6.0
capture: {
type: Boolean,
default () {
return !this.$IVIEW ? true : this.$IVIEW.capture;
}
} }
}, },
data () { data () {