更新
This commit is contained in:
@@ -872,7 +872,7 @@
|
||||
},
|
||||
openScan() {
|
||||
let user = uni.getStorageSync('user')
|
||||
if(!user) {
|
||||
if (!user) {
|
||||
uni.showModal({
|
||||
title: '请您登录',
|
||||
content: "登录星油加油才可以加油 |˛˙꒳˙)♡",
|
||||
@@ -885,7 +885,7 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
return
|
||||
return
|
||||
}
|
||||
uni.scanCode({
|
||||
scanType: 'qrCode',
|
||||
@@ -905,6 +905,13 @@
|
||||
}
|
||||
accountApi.checkQrStr(result.giveCustomerId, result.qrcodeText).then(
|
||||
res => {
|
||||
if (res.code !== 20000) {
|
||||
uni.showModal({
|
||||
title: '',
|
||||
content: res.msg
|
||||
})
|
||||
return
|
||||
}
|
||||
let currentCard = accountResult.data[0] || []
|
||||
this.$refs.transBlcok._open({
|
||||
...currentCard,
|
||||
|
||||
Reference in New Issue
Block a user