This commit is contained in:
李志鹏
2026-05-21 14:58:52 +08:00
parent 5d0de56c1a
commit 2f1cc8d55d

View File

@@ -61,6 +61,7 @@
const totalAmount = computed(() => props.list.reduce((pre, cur) => pre + cur.amount, 0).toFixed(2))
const handleCheckout = () => {
const ids = props.list.map((v: any) => v.listingId)
if (ids.length === 0) return
console.log('购买:', ids)
CreateOrder(ids, true).then((res) => {
router.go(0)