diff --git a/pages/cart/components/PageCtx.vue b/pages/cart/components/PageCtx.vue index 45f38c5..0959dbe 100644 --- a/pages/cart/components/PageCtx.vue +++ b/pages/cart/components/PageCtx.vue @@ -140,7 +140,7 @@ export default { computed : { // 根据模式最终显示的商品列表 list(){ - return (this.mode === 'normal' ? this.settlementList : this.delList) || [] + return (this.mode === 'normal' ? this.settlementList : this.delList) || []; }, totalPrice(){ const checkedList = this.list.filter(item => this.checkedIds.includes(item.id)) || []; diff --git a/pages/cart/tabBarCart.vue b/pages/cart/tabBarCart.vue index 28bb3a8..7d0a76d 100644 --- a/pages/cart/tabBarCart.vue +++ b/pages/cart/tabBarCart.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-04-08 18:36:14 * @LastEditors: ch - * @LastEditTime: 2022-04-22 14:47:43 + * @LastEditTime: 2022-05-05 10:51:37 * @Description: file content -->