Commit 90503f03 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理商品审核报错

parent b009d0f5
......@@ -91,7 +91,7 @@ const viewProducts: React.FC<{}> = () => {
})
if (productDetail?.logistics?.company)
getLogisticsCompanyGet({ id: productDetail?.logistics?.company + '' }).then(res => {
setLogisticResourceCompanyName(res.data.name)
setLogisticResourceCompanyName(res.data?.name)
})
if (productDetail?.logistics?.sendAddress)
getLogisticsShipperAddressGet({ id: productDetail?.logistics?.sendAddress + '' }).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment