Authored by 陈峰

Merge branch 'feature/group-home-correct' into 'release/6.9.2'

Feature/group home correct



See merge request !1749
@@ -26,7 +26,7 @@ const newContentCodes = { @@ -26,7 +26,7 @@ const newContentCodes = {
26 detail: 'cea0efae77f4e04c935beb1e87181247' 26 detail: 'cea0efae77f4e04c935beb1e87181247'
27 }, 27 },
28 production: { 28 production: {
29 - home: 'd9101626ba774147080596e482e5f697', 29 + home: '4b24541678c9fe0ca12c8fd205a6d427',
30 ready: '89141506b9926010f28915a82b3db61d', 30 ready: '89141506b9926010f28915a82b3db61d',
31 result: '3c3a94fd6c6e19508b6921acd7f6cbad', 31 result: '3c3a94fd6c6e19508b6921acd7f6cbad',
32 detail: 'cea0efae77f4e04c935beb1e87181247' 32 detail: 'cea0efae77f4e04c935beb1e87181247'
@@ -198,7 +198,7 @@ class GroupService extends global.yoho.BaseModel { @@ -198,7 +198,7 @@ class GroupService extends global.yoho.BaseModel {
198 let result = {}; 198 let result = {};
199 let tabCurrentIndex = tabIndex || 0; 199 let tabCurrentIndex = tabIndex || 0;
200 200
201 - result.index = await this.newIndex(); 201 + result.index = await this.newIndex() || [];
202 let filters = []; 202 let filters = [];
203 203
204 result.index.forEach(item => { 204 result.index.forEach(item => {
@@ -211,11 +211,9 @@ class GroupService extends global.yoho.BaseModel { @@ -211,11 +211,9 @@ class GroupService extends global.yoho.BaseModel {
211 item.queryString = JSON.stringify(item.query); 211 item.queryString = JSON.stringify(item.query);
212 }); 212 });
213 213
214 - let indexFilter = filters[tabCurrentIndex] || {}; 214 + let indexFilter = filters[tabCurrentIndex] || { query: [] };
215 let query = {}; 215 let query = {};
216 216
217 - console.log(filters);  
218 - console.log(indexFilter);  
219 indexFilter.query.forEach(item => { 217 indexFilter.query.forEach(item => {
220 query = Object.assign(query, item); 218 query = Object.assign(query, item);
221 }); 219 });
1 { 1 {
2 "name": "yohobuywap-node", 2 "name": "yohobuywap-node",
3 - "version": "6.9.2-7", 3 + "version": "6.9.2-8",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {