|
|
@@ -4,7 +4,7 @@
|
|
|
<view class="from-box animate__animated animate__fadeIn">
|
|
|
<view class=" input-img">
|
|
|
<button class="head-button" open-type="chooseAvatar" @chooseavatar="onChooseAvatar" >
|
|
|
- <image src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/app-serve/2024-4-17/gvbknkvhub.png?imageMogr2/quality/20" class="head-img"></image>
|
|
|
+ <image :src="accountData.head_img" class="head-img"></image>
|
|
|
</button>
|
|
|
<view class="head-text text-color-666 sys-size-24">点击上传头像</view>
|
|
|
</view>
|
|
|
@@ -86,11 +86,15 @@ export default {
|
|
|
},
|
|
|
deep: true
|
|
|
},
|
|
|
+ 'isConsent':function () {
|
|
|
+ this.verifyData(false)
|
|
|
+ }
|
|
|
},
|
|
|
methods:{
|
|
|
onChooseAvatar(e) {
|
|
|
// console.log(e);
|
|
|
txUploadFile(e.detail.avatarUrl).then((res) => {
|
|
|
+ console.log('--------------------ok',res)
|
|
|
if (res.Location) {
|
|
|
this.accountData.head_img = res.Location;
|
|
|
tools.hideLoading();
|