This commit is contained in:
2025-01-17 19:29:43 +08:00
parent ea5e5d2fc4
commit be0805c45a
9 changed files with 1720 additions and 389 deletions

View File

@@ -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();
}

View File

@@ -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);

View File

@@ -636,6 +636,10 @@ export default {
}
},
created() {
if(this.$route.meta.hideSidebar){
this.collapse=false
}
localStorage.setItem('collapse', this.collapse);
if (this.userrole == 2) {
//其余的身份(显示作者)