Cascader: fix parameter in change event (#3014)

pull/3063/head
杨奕 2017-02-24 23:20:54 +08:00 committed by baiyaaaaa
parent 537e1e035c
commit d528498cd0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
},