这个建议不错,感谢。
This commit is contained in:
lifenglu 2019-10-21 15:35:52 +08:00
parent d78d57e581
commit 6c20fd67d6

View file

@ -442,9 +442,9 @@
}
},
clearSingleSelect(){ // PUBLIC API
this.$emit('on-clear');
this.hideMenu();
if (this.clearable) this.reset();
this.$emit('on-clear'); // #6331
},
getOptionData(value){
const option = this.flatOptions.find(({componentOptions}) => componentOptions.propsData.value === value);