Commit bb1a0fb2c5ddf7587e7bda4e77eab1b814a7edf5

Authored by yvan.ni
1 parent 78393c14

月包的优化

packageE/pages/user/monthgiftbag/monthgiftbag.js
... ... @@ -92,9 +92,10 @@ Page({
92 92 getApp().goto('/packageE/pages/togoin/togoin');
93 93 return false;
94 94 }
95   - this.setData({
96   - wareCard:[]
97   - })
  95 + this.data.curpage=0;
  96 + this.data.searching=0;
  97 + this.setData({ismore:0,is_get:0,wareCard:[]});
  98 +
98 99 this.init()
99 100 })
100 101  
... ... @@ -251,7 +252,7 @@ Page({
251 252  
252 253 search_lb(){
253 254 this.data.curpage=0;
254   - this.searching=0;
  255 + this.data.searching=0;
255 256 this.setData({ismore:0,is_get:0,wareCard:[]});
256 257 this.getList();
257 258 },
... ...