zhongshujie
昨天 d11b7bf0ecbf1662ca96c127beda0581ecfd6853
src/books/toddlerGameImplementation/view/components/chapter001.vue
@@ -1713,9 +1713,9 @@
            </div>
        </div>
        <preView :isClear="dialogVisible" :md5="p_md5" :pdfTitle="somePdfTitleValue" ref="pdfDialogRef"></preView>
        <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor"
            :cardList="interfaceQuestion[questionNum]" v-if="interfaceQuestion" :chapter="2" :page="questionNum"
            :questionTitle="questionTitleMain" ref="dialogRef">
        <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList"
            v-if="interfaceQuestion" :chapter="2" :page="questionNum" :questionTitle="questionTitleMain"
            ref="dialogRef">
        </dialogExaminations>
        <mindMapView :isClear="mapDialogVisible" ref="mindMapDialogRef"></mindMapView>
    </div>
@@ -1783,6 +1783,7 @@
            themeColor: "#6dcff6",
            questionNum: 0,
            questionTitleMain: "",
            cardArrayList: [],
            chapterData: {
                isCollectVideo: false,
                isCollectVideo01: false,
@@ -2430,6 +2431,18 @@
            questionDataImg: ""
        }
    },
    watch: {
        interfaceQuestion: {
            handler(newValue) {
                if (newValue[this.questionNum] != undefined) {
                    this.cardArrayList = newValue[this.questionNum];
                }
            },
            deep: true,
            immediate: true
        },
    },
    async mounted() {
        const bookQuestion = localStorage.getItem("toddleGame-book-chapter01-tableData");
        if (bookQuestion) {
@@ -2512,8 +2525,6 @@
            this.videoPathEight = await getResourcePath(
                "8215ef4093c9b916f147c41cdbe8f60a"
            );
        },
        handleCollect(e) {
            if (e == 'video-01') {
@@ -2822,6 +2833,9 @@
            if (num) {
                this.questionNum = this.chapter001.question[num].questionNum;
                this.questionTitleMain = this.chapter001.question[num].questionTitleMain;
                if (this.interfaceQuestion && this.interfaceQuestion[this.questionNum] != undefined) {
                    this.cardArrayList = this.interfaceQuestion[this.questionNum];
                }
                this.$refs.dialogRef.openDialogQuestion();
            }
        },