Browse Source

Signed-off-by: liuboyan <632697560@qq.com>
计时器

liuboyan 4 years ago
parent
commit
9b04e56480
1 changed files with 3 additions and 0 deletions
  1. 3 0
      pagesGood/auctionDetail.vue

+ 3 - 0
pagesGood/auctionDetail.vue

@@ -77,6 +77,9 @@
 		onHide() {
 			clearInterval(this.timer)
 		},
+		onUnload() {
+			clearInterval(this.timer)
+		},
 		methods: {
 			//  获取拍卖详情
 			getAuctionData() {