Fix: 订单详情页面数据显示内容修复 #23

Merged
longbot merged 2 commits from zhuotianyuan/WEB:main into main 2025-10-11 03:33:16 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 1843a16dd7 - Show all commits

View File

@ -752,10 +752,9 @@ const Detail: React.FC<{
/>
<ProDescriptions.Item label="金额" dataIndex="total" />
<ProDescriptions.Item label="客户邮箱" dataIndex="customer_email" />
<ProDescriptions.Item label="联系电话" dataIndex="billing_phone"
<ProDescriptions.Item label="联系电话" span={3}
render={(_, record) => { return (
<div>
phone
<span>
{record?.shipping?.phone || record?.billing?.phone || '-'}
</span>