Commit d528498c authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

Cascader: fix parameter in change event (#3014)

parent 537e1e03
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
if (item.__IS__FLAT__OPTIONS) { if (item.__IS__FLAT__OPTIONS) {
this.activeValue = item.value; this.activeValue = item.value;
} else { } else {
this.activeValue.splice(menuIndex, 1, item.value); this.activeValue.splice(menuIndex, this.activeValue.length - 1, item.value);
} }
this.$emit('pick', this.activeValue); this.$emit('pick', this.activeValue);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment