From 44c1502f730b65a399bd870b607d64c5a0608fae Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Thu, 20 Oct 2022 15:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=BE=91=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/Setting.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/user/Setting.vue b/src/views/user/Setting.vue index 4bb0764f..0848706d 100644 --- a/src/views/user/Setting.vue +++ b/src/views/user/Setting.vue @@ -219,7 +219,15 @@ if(!val) { this.passwordForm={}; } + }, + + // 监听"编辑按钮"事件变化 + interestIsEdit(){ + this.load(); + this.getInfo(); } + + }, mounted(){ if(this.userInfo.avatar){ @@ -229,7 +237,6 @@ this.getInfo(); this.getSysTypeTree().then(rs => { this.sysTypeListMap = rs; - console.log("============"+this.sysTypeListMap[0].name); }); }, methods:{ @@ -292,7 +299,7 @@ if(code==''){return '';} return this.sysTypeMap.get(code); }, - + // 更新用户与偏好数据 saveHobby(){ let data = []