|
|
@ -104,7 +104,7 @@ |
|
|
|
let sex=uni.getStorageSync('sex'); |
|
|
|
let sex=uni.getStorageSync('sex'); |
|
|
|
let {phonenumber}=this.wxUserInfo; |
|
|
|
let {phonenumber}=this.wxUserInfo; |
|
|
|
let setavatar='',sexdata=''; |
|
|
|
let setavatar='',sexdata=''; |
|
|
|
if(avatar){ |
|
|
|
if(avatar && avatar.indexOf('http') == -1){ |
|
|
|
// if(avatar.indexOf('http')==0){ |
|
|
|
// if(avatar.indexOf('http')==0){ |
|
|
|
// setavatar = avatar |
|
|
|
// setavatar = avatar |
|
|
|
// }else{ |
|
|
|
// }else{ |
|
|
@ -112,7 +112,7 @@ |
|
|
|
// } |
|
|
|
// } |
|
|
|
setavatar = this.http.baseUrl + avatar |
|
|
|
setavatar = this.http.baseUrl + avatar |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
setavatar='' |
|
|
|
setavatar=avatar |
|
|
|
} |
|
|
|
} |
|
|
|
if(sex){ |
|
|
|
if(sex){ |
|
|
|
sexdata=this.sexList.filter(item=>item.value==sex)[0].label; |
|
|
|
sexdata=this.sexList.filter(item=>item.value==sex)[0].label; |
|
|
|