@@ -135,7 +135,7 @@
if (res.confirm) {
const arr = await that.$api(`/userCoupon/getCoupon/${e._id}`, 'POST');
if (arr.errcode == '0') {
- if (arr.data) {
+ if (arr.data.result == false) {
uni.showToast({
title: arr.data.msg,
icon: 'none'