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

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

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