diff --git a/components/cart-choose/cart-choose.vue b/components/cart-choose/cart-choose.vue index 2dba207..304985a 100644 --- a/components/cart-choose/cart-choose.vue +++ b/components/cart-choose/cart-choose.vue @@ -123,7 +123,9 @@ }, goodsDetail:{ type:Object, - default:{} + default() { + return {} + } } }, watch:{ diff --git a/components/goods-list/goods-list.vue b/components/goods-list/goods-list.vue index 57bf62d..4d7922f 100644 --- a/components/goods-list/goods-list.vue +++ b/components/goods-list/goods-list.vue @@ -1,10 +1,11 @@