Commit f47218991ecfe1160cf3a0202be0001378bc54b2
Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa
Showing
1 changed file
with
5 additions
and
4 deletions
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 | }, | ... | ... |