소스 검색

[edit][判断]

zhangwei 3 년 전
부모
커밋
992b7e8aff
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/view/red-packet.vue

+ 2 - 2
src/view/red-packet.vue

@@ -399,8 +399,8 @@ function myReceivedState() {
     data.detail.amountValue = showLastTwoPlace(data.detail.amountValue)
     data.detail.receiveAmountValue = showLastTwoPlace(data.detail.receiveAmountValue)
 
-  // 大红包不能领取了
-  } else if (data.detail.receiveTimeExpired) {
+  // 大红包不能领取了 and  我的红包过期了
+  } else if (data.detail.receiveTimeExpired && data.detail.myReceived.taskFinishStatus == 2) {
     data.status = 'close'
     data.close_title = `This Giveaways`
     data.close_text = `expired on ${moment(data.detail.endTimestamp).format('MM-DD')}`