Showing
1 changed file
with
1 additions
and
2 deletions
@@ -110,8 +110,7 @@ class ProductListWithFilter { | @@ -110,8 +110,7 @@ class ProductListWithFilter { | ||
110 | // 去掉正在加载 | 110 | // 去掉正在加载 |
111 | $('.search-divide').remove(); | 111 | $('.search-divide').remove(); |
112 | 112 | ||
113 | - let noResult = result === {} || | ||
114 | - !result || !result.length || | 113 | + let noResult = !result || !result.length || |
115 | result.length < 1 || | 114 | result.length < 1 || |
116 | (result.list && result.list.length < 1); | 115 | (result.list && result.list.length < 1); |
117 | 116 |
-
Please register or login to post a comment