个人主页增加关闭设置

This commit is contained in:
daihh
2022-10-28 17:31:33 +08:00
parent e2bbf980ee
commit ceaa19ab1b
5 changed files with 42 additions and 6 deletions

View File

@@ -268,9 +268,9 @@
//执行隐藏操作
userApi.updateShowHome(!this.hideHome).then(res=>{
if(res.status == 200) {
this.userInfo.showHome = !this.hideHome;
this.$message.success('修改成功');
this.$store.dispatch('InitData');
//this.userInfo.showHome = !this.hideHome;
this.$message.success('修改成功');
this.$store.dispatch('InitData');
}
})
},