filtering search 参数还原 首屏12带来的bug @_@
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -60,7 +60,7 @@ const list = (req, res, next) => { | @@ -60,7 +60,7 @@ const list = (req, res, next) => { | ||
60 | ]).then(result => { | 60 | ]).then(result => { |
61 | 61 | ||
62 | // 推荐词条件判断 redmine: 18567 | 62 | // 推荐词条件判断 redmine: 18567 |
63 | - if (result[2].suggestion && result[2].suggestion.termsSuggestion && | 63 | + if (result[2].suggestion && result[2].suggestion.isNeedSuggestion && |
64 | result[2].suggestion.termsSuggestion.length) { | 64 | result[2].suggestion.termsSuggestion.length) { |
65 | params.query = result[2].suggestion.termsSuggestion[0].name; | 65 | params.query = result[2].suggestion.termsSuggestion[0].name; |
66 | } | 66 | } |
@@ -972,7 +972,7 @@ $listNav.on('touchend touchcancel', function(e) { | @@ -972,7 +972,7 @@ $listNav.on('touchend touchcancel', function(e) { | ||
972 | } | 972 | } |
973 | if (nav.reload) { | 973 | if (nav.reload) { |
974 | $(document).trigger('shouldSendBpData', [bpIdData]); | 974 | $(document).trigger('shouldSendBpData', [bpIdData]); |
975 | - search(); | 975 | + search({filtering: true}); |
976 | } | 976 | } |
977 | } | 977 | } |
978 | }); | 978 | }); |
-
Please register or login to post a comment