diff --git a/themes/default/cart.blade.php b/themes/default/cart.blade.php index 9c585052..d729bca1 100644 --- a/themes/default/cart.blade.php +++ b/themes/default/cart.blade.php @@ -111,10 +111,10 @@ var app = new Vue({ el: "#app-cart", data: { - products: @json($carts), - total_quantity: @json($quantity), - amount: @json($amount), - amount_format: @json($amount_format), + products: @json($data['carts']), + total_quantity: @json($data['quantity']), + amount: @json($data['amount']), + amount_format: @json($data['amount_format']), }, // components: {}, // 计算属性