fix: formatOrderStatusDescription variable error

Signed-off-by: cnyballk <584518260@qq.com>
pull/43/head
cnyballk 2024-03-01 09:31:59 +00:00 committed by Gitee
parent a0e9ceb945
commit c0105cc0fe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -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 '商家未发货,请耐心等待';