Commit 70dd564a92ca2cae17c20d25f8d02c0f2014851d
1 parent
111d58b8
报警的~~
Showing
1 changed file
with
1 additions
and
1 deletions
pages/user/coupons/coupons.js
... | ... | @@ -284,7 +284,7 @@ Page({ |
284 | 284 | |
285 | 285 | //没有找到优惠券的时候 |
286 | 286 | if (details.length == 0 && th.data.current_page==1) { |
287 | - this.setData({sheng:0}); | |
287 | + th.setData({sheng:0}); | |
288 | 288 | getApp().showWarning("未找更多数据"); |
289 | 289 | if(big_arr.length>0) { |
290 | 290 | th.setData({ details: big_arr, }); | ... | ... |