fix: 优化购物车性能
This commit is contained in:
@@ -151,6 +151,7 @@
|
||||
cart.delete(cartItem.id);
|
||||
return;
|
||||
}
|
||||
if(cartItem.goods_num === e) return;
|
||||
cartItem.goods_num = e;
|
||||
cart.update({
|
||||
goods_id: cartItem.goods_id,
|
||||
|
||||
Reference in New Issue
Block a user