zs 2 년 전
부모
커밋
29e3c5e01d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'