fix: 优化购物车性能
parent
aa22b927e7
commit
cd12e5510d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue