mirror of https://github.com/ElemeFE/element
Cascader: fix parameter in change event (#3014)
parent
537e1e035c
commit
d528498cd0
|
@ -74,7 +74,7 @@
|
|||
if (item.__IS__FLAT__OPTIONS) {
|
||||
this.activeValue = item.value;
|
||||
} else {
|
||||
this.activeValue.splice(menuIndex, 1, item.value);
|
||||
this.activeValue.splice(menuIndex, this.activeValue.length - 1, item.value);
|
||||
}
|
||||
this.$emit('pick', this.activeValue);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue