mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
方法名的错误处理
This commit is contained in:
@@ -65,14 +65,13 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
sex(newVal,oldVal){
|
||||
@@ -97,7 +96,7 @@
|
||||
}
|
||||
.uavatar{
|
||||
// border: 1px solid #73adfe;
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background: #d9e9ff;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user