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