zs 2 năm trước cách đây
mục cha
commit
97065a68e2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.result == false) {
+								if (arr.data) {
 									uni.showToast({
 										title: arr.data.msg,
 										icon: 'none'