mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
增加编辑按钮事件
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user