Commit bdcf05a4 authored by 郭志伟's avatar 郭志伟

Merge branch 'fix/orderList' into 'master'

fix: 优化代码

See merge request !20
parents 04eae7e5 315f719e
...@@ -67,8 +67,9 @@ const TableList = props => { ...@@ -67,8 +67,9 @@ const TableList = props => {
setLogisticsComList(tempObj); setLogisticsComList(tempObj);
}; };
const renderContent = (record, key) => const renderContent = (record, key) => {
record.mchOrderSkuVoList.map((item, index) => ( if (record.mchOrderSkuVoList) {
return record?.mchOrderSkuVoList.map((item, index) => (
<p <p
className={[ className={[
'tableContent', 'tableContent',
...@@ -92,6 +93,9 @@ const TableList = props => { ...@@ -92,6 +93,9 @@ const TableList = props => {
)} )}
</p> </p>
)); ));
}
return '';
};
const columns = [ const columns = [
{ {
......
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