|
@@ -213,7 +213,7 @@ export default {
|
|
const compositionData = structData.find(
|
|
const compositionData = structData.find(
|
|
(struct) =>
|
|
(struct) =>
|
|
struct.cardTopicType === "COMPOSITION" &&
|
|
struct.cardTopicType === "COMPOSITION" &&
|
|
- struct.mainNumber === topic.parent.topicNo * 1
|
|
|
|
|
|
+ struct.mainNumber === topic.topicNo * 1
|
|
);
|
|
);
|
|
if (compositionData) return;
|
|
if (compositionData) return;
|
|
} else {
|
|
} else {
|
|
@@ -224,8 +224,8 @@ export default {
|
|
if (!typeInfo) return;
|
|
if (!typeInfo) return;
|
|
|
|
|
|
let data = {
|
|
let data = {
|
|
- mainNumber: topic.parent.topicNo * 1,
|
|
|
|
- mainTitle: topic.parent.topicName,
|
|
|
|
|
|
+ mainNumber: topic.topicNo * 1,
|
|
|
|
+ mainTitle: topic.topicName,
|
|
questionsCount,
|
|
questionsCount,
|
|
startNumber,
|
|
startNumber,
|
|
cardTopicType: topic.type,
|
|
cardTopicType: topic.type,
|