From 8be21f8307ee9f7262fc0f52833a798a7aa062e7 Mon Sep 17 00:00:00 2001 From: zoujing Date: Mon, 22 Dec 2025 18:05:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RefundPopup/index.vue | 3 ++- src/pages-booking/components/FooterSection/index.vue | 6 +++++- src/pages-order/order/components/FooterSection/index.vue | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/RefundPopup/index.vue b/src/components/RefundPopup/index.vue index 3e589ff..275baa3 100644 --- a/src/components/RefundPopup/index.vue +++ b/src/components/RefundPopup/index.vue @@ -80,7 +80,8 @@ const refundTitle = computed(() => { }); const commodityPurchaseInstruction = computed(() => { - if (props.orderData.commodityPurchaseInstruction) { + if (props.orderData.commodityPurchaseInstruction && + props.orderData.commodityPurchaseInstruction.refundContent) { // 以换行符为分隔符,将字符串转换为数组 return props.orderData.commodityPurchaseInstruction.refundContent.split( "\n" diff --git a/src/pages-booking/components/FooterSection/index.vue b/src/pages-booking/components/FooterSection/index.vue index 10d32e0..089294f 100644 --- a/src/pages-booking/components/FooterSection/index.vue +++ b/src/pages-booking/components/FooterSection/index.vue @@ -21,7 +21,6 @@ /> 立即支付 @@ -59,6 +58,11 @@ const totalAmt = computed(() => { const { specificationPrice } = props.orderData; return count.value * Number(specificationPrice) * totalDays; }); + +const handleBooking = () => { + emit("payClick", props.orderData); +}; +