Ver Fonte

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

LiChengjin há 1 mês atrás
pai
commit
451d5fec41
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      subpkg_checkin/checkin/checkin.vue

+ 1 - 0
subpkg_checkin/checkin/checkin.vue

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