fix: 修复支付问题

This commit is contained in:
2025-12-22 18:05:15 +08:00
parent 296781c506
commit 8be21f8307
3 changed files with 8 additions and 3 deletions

View File

@@ -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"