Commit 394cc99d authored by renjie's avatar renjie

处理获取优惠券错误bug

parent d0a4a739
......@@ -312,12 +312,14 @@ export default {
this.$request('scenic/market/findPageMarket', data).then((res) => {
if (res.code === '00') {
this.couponIsUse()
} else {
uni.showToast({
title: res.message,
icon: 'none'
})
}
} else if(res.code === '04') {
this.isHaveCoupon = false
}else {
uni.showToast({
title: res.message,
icon: 'none'
})
}
})
},
couponIsUse() { //---判断是否有劵
......@@ -389,7 +391,7 @@ export default {
} else { // 扫码进入本页
this.handleWhetherToVotePage()
}
if (uni.getStorageSync('location')) return
uni.getLocation({ //获取定位
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment