[new feature] Sidebar: support use v-model to bind active key (#3698)
This commit is contained in:
@@ -23,6 +23,7 @@ export default createComponent({
|
||||
methods: {
|
||||
onClick() {
|
||||
this.$emit('click', this.index);
|
||||
this.parent.$emit('input', this.index);
|
||||
this.parent.$emit('change', this.index);
|
||||
route(this.$router, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user