From c0105cc0fed828bc85ae97123214420993e8464c Mon Sep 17 00:00:00 2001 From: cnyballk <584518260@qq.com> Date: Fri, 1 Mar 2024 09:31:59 +0000 Subject: [PATCH] fix: formatOrderStatusDescription variable error Signed-off-by: cnyballk <584518260@qq.com> --- sheep/hooks/useGoods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/hooks/useGoods.js b/sheep/hooks/useGoods.js index c3c58fe8..56274470 100644 --- a/sheep/hooks/useGoods.js +++ b/sheep/hooks/useGoods.js @@ -139,7 +139,7 @@ export function formatOrderStatus(order) { */ export function formatOrderStatusDescription(order) { if (order.status === 0) { - return `请在 ${ formatDate(orderInfo.payExpireTime) } 前完成支付`; + return `请在 ${ formatDate(order.payExpireTime) } 前完成支付`; } if (order.status === 10) { return '商家未发货,请耐心等待';