修复邀请码undefined的问题
This commit is contained in:
parent
4eb9e26a94
commit
750712347d
@ -165,7 +165,7 @@
|
||||
<view class="my-invite-box m-t-20 bg-white flex-col col-center">
|
||||
<view class="my-invite-title sm normal">我的邀请码</view>
|
||||
<view class="flex bold m-t-20" style="font-size: 42rpx;line-height: 30rpx">
|
||||
{{userInfo.user.distribution_code}}
|
||||
{{userInfo.procurement.distribution_code}}
|
||||
<view class="invite-copy-btn m-l-10 xxs" @click="onCopy">点击复制</view>
|
||||
</view>
|
||||
<!-- <view class="row-center my-promote-banner bg-primary white">我的推广海报</view> -->
|
||||
@ -410,7 +410,9 @@
|
||||
}
|
||||
},
|
||||
onCopy() {
|
||||
copy(this.userInfo.user.distribution_code)
|
||||
if (this.userInfo.procurement.distribution_code) {
|
||||
copy(this.userInfo.procurement.distribution_code)
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user