This commit is contained in:
梁灏 2020-06-28 09:14:35 +08:00
parent f6fe4dae70
commit cf930e3e56

View file

@ -480,6 +480,8 @@
}
},
clearSingleSelect(){ // PUBLIC API
// fix #446
if (!this.multiple) this.$emit('input', '');
this.$emit('on-clear');
this.hideMenu();
if (this.clearable) this.reset();