feat: add side drawer button

This commit is contained in:
iczer
2018-08-20 22:46:14 +08:00
parent 7b7e878c24
commit 822ebc31ad
3 changed files with 53 additions and 9 deletions

View File

@@ -51,7 +51,8 @@ export default {
return {
minHeight: minHeight + 'px',
collapsed: false,
menuData: menuData
menuData: menuData,
showSetting: true
}
},
computed: {
@@ -68,6 +69,9 @@ export default {
},
onMenuSelect () {
this.toggleCollapse()
},
onSettingDrawerChange (val) {
this.showSetting = val
}
},
beforeCreate () {