Authored by xuqi

修正商品连续点击显示错误的问题

@@ -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);