fix: 优化购物车性能
This commit is contained in:
1 parent
aa22b927e7
commit
cd12e5510d
1 file changed
+1
@@ -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