更新
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
<script>
|
||||
import serve from '@/api/account.js'
|
||||
import tkiQrcode from '@/BagStation/pages/components/tki-qrcode/tki-qrcode.vue'
|
||||
import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue'
|
||||
export default {
|
||||
components: {
|
||||
tkiQrcode
|
||||
@@ -39,14 +39,12 @@
|
||||
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)
|
||||
if (this.user.id) {
|
||||
serve.getQrStr(this.user.id, reset).then(res => {
|
||||
if (!res.data) return
|
||||
|
||||
Reference in New Issue
Block a user