This commit is contained in:
梁灏 2018-12-20 14:45:54 +08:00
parent 4cc72ddba5
commit 5be1b3ee91

View file

@ -77,7 +77,11 @@
// return value back recursion //
const backItem = this.getBaseItem(item);
if (backItem.label !== this.tmpItem.label || backItem.value !== this.tmpItem.value) {
// #5021
if (this.changeOnSelect) {
this.tmpItem = backItem;
this.emitUpdate([backItem]);
} else if (backItem.label !== this.tmpItem.label || backItem.value !== this.tmpItem.value) {
this.tmpItem = backItem;
this.emitUpdate([backItem]);
}