提交
This commit is contained in:
@@ -123,6 +123,10 @@
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if(this.$route.meta.hideSidebar){
|
||||
this.collapse=false
|
||||
|
||||
}
|
||||
this.initORCID();
|
||||
if (this.user_id == 24) {
|
||||
this.daojishi = '2021.9.3 - 2021.9.30'
|
||||
@@ -272,6 +276,7 @@
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
||||
if (document.body.clientWidth < 1000) {
|
||||
this.collapseChage();
|
||||
}
|
||||
|
||||
@@ -34,6 +34,10 @@ export default {
|
||||
vTags
|
||||
},
|
||||
created() {
|
||||
if(this.$route.meta.hideSidebar){
|
||||
this.collapse=false
|
||||
|
||||
}
|
||||
bus.$on('collapse-content', (msg) => {
|
||||
this.collapse = msg;
|
||||
localStorage.setItem('collapse', this.collapse);
|
||||
|
||||
@@ -636,6 +636,10 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if(this.$route.meta.hideSidebar){
|
||||
this.collapse=false
|
||||
|
||||
}
|
||||
localStorage.setItem('collapse', this.collapse);
|
||||
if (this.userrole == 2) {
|
||||
//其余的身份(显示作者)
|
||||
|
||||
Reference in New Issue
Block a user