方法名的错误处理

This commit is contained in:
daihh
2022-10-13 17:12:15 +08:00
parent c0c36020d1
commit 5bb3c75608

View File

@@ -65,9 +65,8 @@
this.userName=newVal;
},
avatar(newVal,oldVal){
console.log(newVal,'222')
if(newVal){
if(newVal.startWith('http')){
if(newVal.startsWith('http')){
this.userAvatar=newVal;
}else{
this.userAvatar=this.baseUrl+newVal;