feat: add mobile side menu

This commit is contained in:
chenghx
2018-08-14 17:29:50 +08:00
parent 125a22c31e
commit 10c8f3557b
3 changed files with 86 additions and 2 deletions

View File

@@ -164,7 +164,10 @@ export default {
},
on: {
openChange: this.onOpenChange,
select: (obj) => { this.selectedKeys = obj.selectedKeys }
select: (obj) => {
this.selectedKeys = obj.selectedKeys
this.$emit('select', obj)
}
}
}, this.renderMenu(h, this.menuData)
)