Showing
1 changed file
with
3 additions
and
1 deletions
@@ -599,7 +599,9 @@ const getSearchKeywordDataById = (id, params, uid) => { | @@ -599,7 +599,9 @@ const getSearchKeywordDataById = (id, params, uid) => { | ||
599 | result.queryKey = params.query; | 599 | result.queryKey = params.query; |
600 | 600 | ||
601 | if (!_.isEmpty(redisData.data)) { | 601 | if (!_.isEmpty(redisData.data)) { |
602 | - _.forEach(redisData.data, value => { | 602 | + let tdata = _.slice(redisData.data, 0, 12); |
603 | + | ||
604 | + _.forEach(tdata, value => { | ||
603 | if (!value) { | 605 | if (!value) { |
604 | return; | 606 | return; |
605 | } | 607 | } |
-
Please register or login to post a comment