chore: optimize the api of drawer components; 🌟

This commit is contained in:
iczer
2020-07-09 12:10:36 +08:00
parent 195624a0a1
commit 44a99a2987
3 changed files with 13 additions and 32 deletions

View File

@@ -60,7 +60,6 @@ export default {
return 'light'
}
return this.theme
// return (this.layout == 'side' && !this.isMobile && this.theme != 'night') ? 'light' : this.theme
},
langAlias() {
let lang = this.langList.find(item => item.key == this.lang)