From 1cdb67f6dcacb26401a8aa2ce5d1d29c7a9b6865 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Wed, 29 Jun 2022 16:00:16 +0800 Subject: [PATCH] wi --- themes/default/cart.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/default/cart.blade.php b/themes/default/cart.blade.php index d729bca1..f320646c 100644 --- a/themes/default/cart.blade.php +++ b/themes/default/cart.blade.php @@ -182,9 +182,9 @@ }, setUpdateData(res) { - this.products = res.carts - this.amount_format = res.amount_format - this.total_quantity = res.quantity + this.products = res.data.carts + this.amount_format = res.data.amount_format + this.total_quantity = res.data.quantity } }, // 实例被挂载后调用