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 } }, // 实例被挂载后调用