Commit 1ccad8ec13f73bfa4036cb96452d6727e34fca90

Authored by yvan.ni
1 parent ed2edfc0

点击商品,跳转详情回退的时候,page=1的优化

pages/activity/seckill_list/seckill_list.js
... ... @@ -84,9 +84,9 @@ Page({
84 84  
85 85  
86 86 onShow: function (t) {
87   - getApp().check_can_share();
  87 + getApp().check_can_share();
88 88 this.data.is_timer = 1;
89   - this.data.currentPage = 1;
  89 + //this.data.currentPage = 1;不能清空未1
90 90 var th = this;
91 91 //设置全局定时器
92 92 th.data.timer = setInterval(function () {
... ...