From 1ccad8ec13f73bfa4036cb96452d6727e34fca90 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Mon, 31 Oct 2022 10:03:19 +0800 Subject: [PATCH] 点击商品,跳转详情回退的时候,page=1的优化 --- pages/activity/seckill_list/seckill_list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/activity/seckill_list/seckill_list.js b/pages/activity/seckill_list/seckill_list.js index 749e997..8ad5dbe 100644 --- a/pages/activity/seckill_list/seckill_list.js +++ b/pages/activity/seckill_list/seckill_list.js @@ -84,9 +84,9 @@ Page({ onShow: function (t) { - getApp().check_can_share(); + getApp().check_can_share(); this.data.is_timer = 1; - this.data.currentPage = 1; + //this.data.currentPage = 1;不能清空未1 var th = this; //设置全局定时器 th.data.timer = setInterval(function () { -- libgit2 0.21.4