|
@@ -228,14 +228,13 @@ export default defineComponent({
|
|
|
const childList: any[] = [];
|
|
|
row.chapterKnowledgeMaterialList.forEach((child: any) => {
|
|
|
if (!child.removeFlag) {
|
|
|
- const dataJson = child.dataJson ? JSON.parse(child.dataJson) : {};
|
|
|
childList.push({
|
|
|
id: child.id,
|
|
|
materialId: child.bizId,
|
|
|
coverImg: child.bizInfo.coverImg,
|
|
|
type: child.type,
|
|
|
title: child.bizInfo.name,
|
|
|
- dataJson: dataJson.setting ? dataJson.setting : {},
|
|
|
+ dataJson: child.dataJson,
|
|
|
isCollect: !!child.favoriteFlag,
|
|
|
isSelected: child.source === 'PLATFORM' ? true : false,
|
|
|
content: child.bizInfo.content,
|