Commit 7faf76a8 authored by 李腾's avatar 李腾

feat: 更新发货物流报错问题

parent b2f6300b
......@@ -2,21 +2,21 @@ const isProduction = process.env.NODE_ENV === 'production';
const isPre = process.env.PRE_ENV === 'pre';
const envAPi = {
api: 'https://security-sc.liangkebang.net', //'https://security-xyqb.liangkebang.net',
kdspOpApi: 'https://sc-merchant-api-sc.liangkebang.net',
kdspApi: 'https://sc-merchant-api-sc.liangkebang.net',
goodsApi: 'https://sc-merchant-api-sc.liangkebang.net',
api: 'https://security-yxm.liangkebang.net', //'https://security-xyqb.liangkebang.net',
kdspOpApi: 'https://sc-merchant-api-yxm.liangkebang.net',
kdspApi: 'https://sc-merchant-api-yxm.liangkebang.net',
goodsApi: 'https://sc-merchant-api-yxm.liangkebang.net',
// kdspOpApi: 'https://kdsp-operation-xyqb.liangkebang.net',
// kdspApi: 'https://sc-op-api-xyqb.liangkebang.net',
// goodsApi: 'https://sc-op-api-xyqb.liangkebang.net',
querysApi: 'https://sc-merchant-api-sc.liangkebang.net',
querysApi: 'https://sc-merchant-api-yxm.liangkebang.net',
// goodsApi: '//192.168.188.111:7000',
prologueDomain: 'https://mall-sc.liangkebang.net',
prologueDomain: 'https://mall-yxm.liangkebang.net',
// qiniuHost: 'https://appsync.lkbang.net',
qiniuHost: 'https://kdspstatic.q-gp.com/',
opapiHost: 'https://opapi-sc.liangkebang.net',
opapiHost: 'https://opapi-yxm.liangkebang.net',
wsApi: 'ws://ws-sc.liangkebang.net',
msgApi: 'https://msgapi-sc.liangkebang.net',
msgApi: 'https://msgapi-yxm.liangkebang.net',
};
const prodApi = {
......
......@@ -138,7 +138,7 @@ const TableList = props => {
};
const PopoverNotice = noticeProps => {
const { time, content } = noticeProps;
const { time, content } = noticeProps || {};
return (
<div className={style['popover-notice']}>
{time}{content}
......@@ -165,7 +165,7 @@ const TableList = props => {
const { urgeDeliverGoodsList } = record;
const content = () =>
urgeDeliverGoodsList?.map(item => (
<PopoverNotice time={item.time} content={item.content} />
<PopoverNotice time={item?.time} content={item?.content} />
));
return (
<>
......@@ -198,7 +198,7 @@ const TableList = props => {
<Popover
placement="top"
title="收货地址变更"
content={<PopoverNotice time={addressData.time} content={addressData.content} />}
content={<PopoverNotice time={addressData?.time} content={addressData?.content} />}
trigger="hover"
>
<Button block type="primary">
......@@ -213,7 +213,7 @@ const TableList = props => {
placement="top"
title="平台备注"
content={
<PopoverNotice time={platformRemark.time} content={platformRemark.content} />
<PopoverNotice time={platformRemark?.time} content={platformRemark?.content} />
}
trigger="hover"
>
......
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