From 40a8891c07c38a8b4557191f3db28c7728616d5b Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Fri, 26 Aug 2022 15:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=20=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E6=9B=B4=E6=94=B9=E5=8A=A0=20sku=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/default/cart/cart.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/default/cart/cart.blade.php b/themes/default/cart/cart.blade.php index af6e2129..e47175ed 100644 --- a/themes/default/cart/cart.blade.php +++ b/themes/default/cart/cart.blade.php @@ -53,7 +53,7 @@
- +
@@ -143,9 +143,9 @@ location = '{{ shop_route("checkout.index") }}' }, - quantityChange(quantity, cart_id) { + quantityChange(quantity, cart_id, sku_id) { const self = this; - $http.put(`/carts/${cart_id}`, {quantity: quantity}, {hload: true}).then((res) => { + $http.put(`/carts/${cart_id}`, {quantity: quantity, sku_id}, {hload: true}).then((res) => { this.setUpdateData(res); }) },