Merge branch 'master' of https://gitee.com/wjl2008_admin/tougao_web into zy-email
This commit is contained in:
@@ -636,10 +636,12 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if(this.$route.meta.hideSidebar){
|
||||
this.collapse=false
|
||||
if(!this.$route.meta.hideSidebar){
|
||||
this.collapse=true
|
||||
|
||||
}
|
||||
}else{
|
||||
this.collapse=false
|
||||
}
|
||||
localStorage.setItem('collapse', this.collapse);
|
||||
if (this.userrole == 2) {
|
||||
//其余的身份(显示作者)
|
||||
|
||||
Reference in New Issue
Block a user