Authored by 郝肖肖

'筛选返回判断'

@@ -199,7 +199,9 @@ class ProductListWithFilter { @@ -199,7 +199,9 @@ class ProductListWithFilter {
199 success: (result) => { 199 success: (result) => {
200 this.dataRender(result); 200 this.dataRender(result);
201 201
202 - cacheStore.set(catchKey, result); 202 + if (result && result.length) {
  203 + cacheStore.set(catchKey, result);
  204 + }
203 }, 205 },
204 error: () => { 206 error: () => {
205 let $divide = $('.search-divide'); 207 let $divide = $('.search-divide');