mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
方法名的错误处理
This commit is contained in:
@@ -65,9 +65,8 @@
|
|||||||
this.userName=newVal;
|
this.userName=newVal;
|
||||||
},
|
},
|
||||||
avatar(newVal,oldVal){
|
avatar(newVal,oldVal){
|
||||||
console.log(newVal,'222')
|
|
||||||
if(newVal){
|
if(newVal){
|
||||||
if(newVal.startWith('http')){
|
if(newVal.startsWith('http')){
|
||||||
this.userAvatar=newVal;
|
this.userAvatar=newVal;
|
||||||
}else{
|
}else{
|
||||||
this.userAvatar=this.baseUrl+newVal;
|
this.userAvatar=this.baseUrl+newVal;
|
||||||
|
|||||||
Reference in New Issue
Block a user