Select: update popper after options change

pull/10416/head
Leopoldthecoder 2018-03-28 17:48:27 +08:00 committed by 杨奕
parent 8ce9978ee1
commit 7ae2662b7c
1 changed files with 3 additions and 0 deletions

View File

@ -390,6 +390,9 @@
options() {
if (this.$isServer) return;
this.$nextTick(() => {
this.broadcast('ElSelectDropdown', 'updatePopper');
});
if (this.multiple) {
this.resetInputHeight();
}