Commit bdaed009fc44dada439aff40f90e9d8c54dd7b77
1 parent
fb8eccbe
秒杀自定义模板的bug优化
Showing
1 changed file
with
2 additions
and
2 deletions
components/diy_seckill/diy_seckill.js
@@ -93,8 +93,8 @@ Component({ | @@ -93,8 +93,8 @@ Component({ | ||
93 | {isShowLoading:1,data:{store_id:os.stoid,is_end:0,is_show:1}} | 93 | {isShowLoading:1,data:{store_id:os.stoid,is_end:0,is_show:1}} |
94 | ).then(res=>{ | 94 | ).then(res=>{ |
95 | if(res.data.code==0 && res.data.data.pageData && res.data.data.pageData.length>0) { | 95 | if(res.data.code==0 && res.data.data.pageData && res.data.data.pageData.length>0) { |
96 | - goodsidlist=res.data.data.pageData; | ||
97 | - th.set_goods_list(null,goodslist); | 96 | + var goodsidlist=res.data.data.pageData; |
97 | + this.set_goods_list(null,goodsidlist); | ||
98 | } | 98 | } |
99 | }); | 99 | }); |
100 | }, | 100 | }, |