mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
提交修改
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
this.userName=this.name;
|
||||
if(this.avatar && this.avatar!=''){
|
||||
this.userAvatar=this.avatar;
|
||||
|
||||
}
|
||||
this.usersex = this.sex;
|
||||
},
|
||||
@@ -64,8 +65,14 @@
|
||||
this.userName=newVal;
|
||||
},
|
||||
avatar(newVal,oldVal){
|
||||
console.log(newVal,'222')
|
||||
if(newVal){
|
||||
this.userAvatar=this.baseUrl+newVal;
|
||||
if(newVal.startWith('http')){
|
||||
this.userAvatar=newVal;
|
||||
}else{
|
||||
this.userAvatar=this.baseUrl+newVal;
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
sex(newVal,oldVal){
|
||||
|
||||
Reference in New Issue
Block a user