From 83cf98c8b0ec5bec49c453c2c537b168e2406d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Thu, 28 May 2026 15:15:05 +0800 Subject: [PATCH] 1 --- src/views/pay/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/pay/index.vue b/src/views/pay/index.vue index 203805d..4c0e817 100644 --- a/src/views/pay/index.vue +++ b/src/views/pay/index.vue @@ -14,10 +14,12 @@ import payment from './payment.vue' import myFooter from '@/components/Footer.vue' import { useRoute } from 'vue-router' + import { SCART_STATUS } from '../shoppingCart/index.d' + const route = useRoute() const list = ref([]) const ids = computed(() => { - return list.value.map((item) => item.listingId) + return list.value.filter((v) => v.status === SCART_STATUS.NORMAL).map((item) => item.listingId) }) try { let str = route.query.list as string