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); +}; +