|
@@ -14,7 +14,7 @@ export const groupInit = (that) => {
|
|
|
that.getGroupList = function () {
|
|
|
httpRequestApi.getGroupList().success( (res) => {
|
|
|
console.log('推荐团购',res.data.data)
|
|
|
- that.data.groupData.recommendList = res.data.data;
|
|
|
+ that.data.groupData.recommendList = res.data.data.splice(0,6);
|
|
|
that.setData({
|
|
|
groupData: that.data.groupData
|
|
|
})
|