Просмотр исходного кода

161010
fix: cart move to wish==> set count ==>crash

Ray Zhang 9 лет назад
Родитель
Сommit
1aae3251f5
1 измененных файлов с 4 добавлено и 13 удалено
  1. 4 13
      RedAnt ERP Mobile/common/Functions/cart/CartViewController.m

+ 4 - 13
RedAnt ERP Mobile/common/Functions/cart/CartViewController.m

@@ -1760,23 +1760,14 @@
                             appDelegate.cart_count--;
                             [appDelegate update_count_mark];
                             
+                            
                             [self refresh_total];
                         }
                         
                     }
-                    //[self.itemListTable reloadData];
-                    //                    if(self.WatchlistBlock!=nil)
-                    //                    {
-                    //                        UIImage* img=[self photoStackView:self.photoStack photoForIndex:0];
-                    //
-                    //
-                    //                        CGRect iv_rect = CGRectMake(self.btnaddWish.center.x-50, self.btnaddWish.center.y-50, 100, 100);
-                    //                        UIImageView* iv = [[UIImageView alloc] initWithFrame:iv_rect];
-                    //                        iv.image = img;
-                    //                        //                        [self.contentView addSubview:iv];
-                    //                        self.WatchlistBlock(iv);
-                    //
-                    //                    }
+                    
+                    [self.itemListTable reloadData];
+
                 }
                 else
                 {