增加编辑按钮事件

This commit is contained in:
weinan2087
2022-10-20 15:26:37 +08:00
parent 96b209aedd
commit 44c1502f73

View File

@@ -219,7 +219,15 @@
if(!val) { if(!val) {
this.passwordForm={}; this.passwordForm={};
} }
},
// 监听"编辑按钮"事件变化
interestIsEdit(){
this.load();
this.getInfo();
} }
}, },
mounted(){ mounted(){
if(this.userInfo.avatar){ if(this.userInfo.avatar){
@@ -229,7 +237,6 @@
this.getInfo(); this.getInfo();
this.getSysTypeTree().then(rs => { this.getSysTypeTree().then(rs => {
this.sysTypeListMap = rs; this.sysTypeListMap = rs;
console.log("============"+this.sysTypeListMap[0].name);
}); });
}, },
methods:{ methods:{