[new feature] Sidebar: support use v-model to bind active key (#3698)
This commit is contained in:
@@ -6,6 +6,10 @@ const [createComponent, bem] = createNamespace('sidebar');
|
||||
export default createComponent({
|
||||
mixins: [ParentMixin('vanSidebar')],
|
||||
|
||||
model: {
|
||||
prop: 'activeKey'
|
||||
},
|
||||
|
||||
props: {
|
||||
activeKey: {
|
||||
type: [Number, String],
|
||||
|
||||
Reference in New Issue
Block a user