diff --git a/src/pages/point/PointRedemptionDetail.vue b/src/pages/point/PointRedemptionDetail.vue index d992264..410efd8 100644 --- a/src/pages/point/PointRedemptionDetail.vue +++ b/src/pages/point/PointRedemptionDetail.vue @@ -21,7 +21,11 @@ - + + +
@@ -32,8 +36,12 @@ v-for="record in returnList" :key="record.id" :title="`退货 ${quantityText(record.quantity)} ${item?.unitSnapshot || ''}`" - :note="`${formatPoint(record.pointCost)} · ${timeText(record.returnedAt)}`" - /> + :note="formatPoint(record.pointCost)" + > + + )[value || ""] || "未知"; } -function timeText(value?: number): string { - return value ? new Date(value).toLocaleString("zh-CN", { hour12: false }) : "-"; -} - onMounted(load); watch(() => [props.redemptionId, route.params.id], load);