Commit cf09dc6575d039d8eb1273367090aa5fb1979f5e
1 parent
f6499c48
1. 我的推荐 商品要有排序
Showing
1 changed file
with
2 additions
and
0 deletions
components/goods_list/goods_list.js
@@ -101,6 +101,8 @@ Component({ | @@ -101,6 +101,8 @@ Component({ | ||
101 | store_id: o.stoid, | 101 | store_id: o.stoid, |
102 | page: curPage, | 102 | page: curPage, |
103 | pageSize: 6, | 103 | pageSize: 6, |
104 | + orderField:"sort", | ||
105 | + orderType:'asc', | ||
104 | }, | 106 | }, |
105 | success: function(res) { | 107 | success: function(res) { |
106 | var data = res.data; | 108 | var data = res.data; |