fix: dropdown位置自动调整后,选项列表的长度发生改变后,dropdown位置不会自动计算

This commit is contained in:
yJs 2018-12-07 10:11:06 +08:00 committed by GitHub
parent e2ac3e07bf
commit 2fa83db1de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -750,6 +750,10 @@
if (this.slotOptions && this.slotOptions.length === 0){
this.query = '';
}
// dropdown ()
// dropdown
this.broadcast('Drop', 'on-update-popper');
},
visible(state){
this.$emit('on-open-change', state);