Browse Source

opt:入住成功返回主页前清除定时器

LiChengjin 3 months ago
parent
commit
451d5fec41
1 changed files with 1 additions and 0 deletions
  1. 1 0
      subpkg_checkin/checkin/checkin.vue

+ 1 - 0
subpkg_checkin/checkin/checkin.vue

@@ -121,6 +121,7 @@
 				}
 				}
 			},
 			},
 			gotoHome() {
 			gotoHome() {
+				clearInterval(this.countDownTimer)
 				uni.switchTab({
 				uni.switchTab({
 					url: '/pages/home/home'
 					url: '/pages/home/home'
 				})
 				})