Commit 5d30eee1 by renmanyi

feat:修复contentVOList不存在的情况

parent e0a9006e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-08-05 11:26:25 * @Date: 2021-08-05 11:26:25
* @LastEditors: renmanyi * @LastEditors: renmanyi
* @LastEditTime: 2022-08-05 11:55:40 * @LastEditTime: 2022-08-05 13:50:06
* @Description: 个人学习详情-全部tab页 * @Description: 个人学习详情-全部tab页
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...@@ -93,9 +93,10 @@ function WholeData(props) { ...@@ -93,9 +93,10 @@ function WholeData(props) {
<Collapse ghost> <Collapse ghost>
{stageCustomerList?.length > 0 && {stageCustomerList?.length > 0 &&
stageCustomerList.map((item, index) => { stageCustomerList.map((item, index) => {
const {contentVOList=[]} = item
return ( return (
<Panel header={renderStageInfo(item, index)} key={index}> <Panel header={renderStageInfo(item, index)} key={index}>
{item.contentVOList.map((contentItem, contentIndex) => { {contentVOList.map((contentItem, contentIndex) => {
return renderContentInfo(contentItem, contentIndex, index); return renderContentInfo(contentItem, contentIndex, index);
})} })}
</Panel> </Panel>
......
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