zs 2 years ago
parent
commit
5fdac28c7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pagesHome/exchange/index.vue

+ 1 - 1
pagesHome/exchange/index.vue

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