This commit is contained in:
xiaozhiyong
2023-09-19 16:31:09 +08:00
parent aaa0058528
commit 27b6f29c00
5 changed files with 39 additions and 13 deletions

View File

@@ -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,