Browse Source

[edit][bugs]

zhangwei 3 years ago
parent
commit
d8ebac8c60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index.vue

+ 1 - 1
pages/index.vue

@@ -249,6 +249,7 @@ export default {
 					} else {
 						this.status = 'opened'
 					}
+					this.getValidity()
 					break;
 				// 红包被领完了
 				case '2008':
@@ -357,7 +358,6 @@ export default {
 			// 领取任务红包
 			this.setCookieMid()
 			this.getRedPacket()
-			this.getValidity()
 		} else {
 			this.home_show = true
 			this.status = 'no-chrome'