zhongshujie
15 小时以前 d11b7bf0ecbf1662ca96c127beda0581ecfd6853
src/books/toddlerGameImplementation/view/components/chapter004.vue
@@ -1282,9 +1282,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="3" :page="questionNum"
            :questionTitle="questionTitleMain" ref="dialogRef">
        <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList"
            v-if="interfaceQuestion" :chapter="3" :page="questionNum" :questionTitle="questionTitleMain"
            ref="dialogRef">
        </dialogExaminations>
    </div>
</template>
@@ -1317,11 +1317,11 @@
            chapter001: {
                pdfMd5: {
                    1: {
                        md5: "1163b037f10a617fad93b1920918ee25",
                        md5: "ddcce0c887753bc8005300ef82d5ec59",
                        name: "模块四 岗位进阶训练",
                    },
                    2: {
                        md5: "96ee41c37890c9c0ce53b33ea8d5cc79",
                        md5: "5844d7e7f598ff1086885a20c3e86516",
                        name: "模块四 实训工作任务",
                    },
                },
@@ -1389,6 +1389,7 @@
            themeColor: "#6dcff6",
            questionNum: 0,
            questionTitleMain: "",
            cardArrayList: [],
            // 题目
            collectImg: require("../../assets/images/icon/heart.png"),
            collectCheck: require("../../assets/images/icon/heart-check.png"),
@@ -1821,6 +1822,17 @@
            },
        }
    },
    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-chapter04-tableData");
        if (bookQuestion) {
@@ -1852,7 +1864,6 @@
    },
    methods: {
        async getVidoePath() {
            this.videoPathOne = await getResourcePath(
                "7ce18eab6c16b6c01ac0b3af352a2393"
@@ -2080,6 +2091,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();
            }
        },