Forráskód Böngészése

[edit][兼容v3版本接口问题]

zhangwei 2 éve
szülő
commit
3e36bf4f10
1 módosított fájl, 6 hozzáadás és 1 törlés
  1. 6 1
      pages/index.vue

+ 6 - 1
pages/index.vue

@@ -593,7 +593,12 @@ export default {
 		} else if (isBrowser() == 'chrome') {
 			// 领取任务红包
 			this.setCookieMid()
-			this.getRedPacket()
+			// 是否被领完
+			if(this.detail.postBizData.receiveCount < this.detail.postBizData.totalCount){
+				this.getRedPacket()	
+			}else{
+				this.status = 'nothing'
+			}
 			this.setPickupInfo()
 			Report.reportLog({
 				baseInfo: {