mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
修改个人设置
This commit is contained in:
@@ -255,7 +255,7 @@
|
||||
this.avatarUrl = this.avatar;
|
||||
}
|
||||
console.log("sss "+this.userInfo.showHome);
|
||||
this.hideHome = this.userInfo.showHome;
|
||||
this.hideHome = !this.userInfo.showHome;
|
||||
this.load();
|
||||
this.getInfo();
|
||||
this.getSysTypeTree().then(rs => {
|
||||
@@ -270,6 +270,7 @@
|
||||
if(res.status == 200) {
|
||||
this.userInfo.showHome = !this.hideHome;
|
||||
this.$message.success('修改成功');
|
||||
this.$store.dispatch('InitData');
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user