Showing
1 changed file
with
1 additions
and
1 deletions
@@ -213,7 +213,7 @@ exports.init = function() { | @@ -213,7 +213,7 @@ exports.init = function() { | ||
213 | html += Mustache.render(tpl, goods[i]); | 213 | html += Mustache.render(tpl, goods[i]); |
214 | } | 214 | } |
215 | } | 215 | } |
216 | - if (nav.reload) { | 216 | + if (nav.reload || len === 0) { |
217 | $container.html(html); | 217 | $container.html(html); |
218 | } else { | 218 | } else { |
219 | $container.append(html); | 219 | $container.append(html); |
-
Please register or login to post a comment