From bce05bc40ce9715b72864009163ad3e5433f438d Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Wed, 29 Jun 2022 15:56:52 +0800 Subject: [PATCH] fixed cart --- themes/default/cart.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: {}, // 计算属性