This commit is contained in:
梁灏 2019-04-09 10:45:01 +08:00
parent cd791ec115
commit 90399f8494
4 changed files with 33 additions and 6 deletions

View file

@ -41,6 +41,8 @@
:initial-label="initialLabel"
:placeholder="placeholder"
:query-prop="query"
:max-tag-count="maxTagCount"
:max-tag-placeholder="maxTagPlaceholder"
@on-query-change="onQueryChange"
@on-input-focus="isFocused = true"
@ -239,9 +241,18 @@
transferClassName: {
type: String
},
// 3.4.0
prefix: {
type: String
},
// 3.4.0
maxTagCount: {
type: Number
},
// 3.4.0
maxTagPlaceholder: {
type: String
}
},
mounted(){
this.$on('on-select-selected', this.onOptionClick);