@@ -199,7 +199,7 @@
{
var total = 0;
for (var i in goods) {
- if (goods[id].del == 1) {
+ if (goods[i].del == 1) {
total += 1;
}