Ver código fonte

fix: 全部领取时 不校验领取数量

xuyunhui 4 meses atrás
pai
commit
a88faf28c9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -612,7 +612,7 @@ export default {
           }
         }
 
-        if (couponIds.length !== this.rule.receivedCount) {
+        if (couponIds.length !== this.rule.receivedCount && this.rule.isAllReceived !== 1) {
           uni.showToast({
             title: '请选择' + this.rule.receivedCount + '张优惠券',
             duration: 2000,