fix(Sidebar): should emit change when v-model changed (#6383)

This commit is contained in:
neverland
2020-05-26 19:44:59 +08:00
committed by GitHub
parent 126f2124a2
commit 67a5a8d76c
4 changed files with 39 additions and 8 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export default createComponent({
this.$emit('click', this.index);
this.parent.$emit('input', this.index);
this.parent.$emit('change', this.index);
this.parent.setIndex(this.index);
route(this.$router, this);
},
},