Browse Source

[edit][判断]

zhangwei 3 years ago
parent
commit
992b7e8aff
1 changed files with 2 additions and 2 deletions
  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')}`