更新
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<view class="card">
|
||||
<view class="info">
|
||||
<view>{{user.name || ''}}</view>
|
||||
<view>{{user.userPhone || ''}}</view>
|
||||
<view>{{phoneHandle}}</view>
|
||||
</view>
|
||||
<tki-qrcode ref="qrcode" cid="2" :val="qrcodeText" :size="400" :isHaveBg="false" pdground="#000"
|
||||
foreground="#000" background="#fff" onval showLoading loadMake />
|
||||
@@ -36,6 +36,14 @@
|
||||
created() {
|
||||
this.getQrStr()
|
||||
},
|
||||
computed: {
|
||||
phoneHandle() {
|
||||
let phone = this.user.userPhone
|
||||
console.log('user',this.user)
|
||||
if(!phone) return ''
|
||||
return `${phone.substr(0,3)}****${phone.substr(-4)}`
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getQrStr(reset = 0) {
|
||||
console.log('this.user', this.user)
|
||||
|
||||
Reference in New Issue
Block a user