zhongshujie
15 小时以前 d11b7bf0ecbf1662ca96c127beda0581ecfd6853
src/books/toddlerGameImplementation/view/components/chapter006.vue
@@ -1354,9 +1354,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>
@@ -1389,11 +1389,11 @@
            chapter001: {
                pdfMd5: {
                    1: {
                        md5: "f751cb1f40862cc81972df87fdf1451c",
                        md5: "c0bc1cf672ea6d25f5cb3ecba2cc9dff",
                        name: "模块六 岗位进阶训练",
                    },
                    2: {
                        md5: "16eb97c685067d0651b97aacb3548315",
                        md5: "f9d9026bc00a9b0560e4a348352fb385",
                        name: "模块六 实训工作任务",
                    },
                },
@@ -1461,6 +1461,7 @@
            themeColor: "#6dcff6",
            questionNum: 0,
            questionTitleMain: "",
            cardArrayList: [],
            // 题目
            collectImg: require("../../assets/images/icon/heart.png"),
            collectCheck: require("../../assets/images/icon/heart-check.png"),
@@ -1884,6 +1885,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-chapter06-tableData");
        if (bookQuestion) {
@@ -2088,6 +2100,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();
            }
        },