From ea614cd7d75f68c9faf759cd628bef8a83f55835 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 15 五月 2024 18:49:25 +0800 Subject: [PATCH] 章节优化 --- src/books/childHealth/view/content/components/chapter001.vue | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter001.vue b/src/books/childHealth/view/content/components/chapter001.vue index 4dffff5..9f2929e 100644 --- a/src/books/childHealth/view/content/components/chapter001.vue +++ b/src/books/childHealth/view/content/components/chapter001.vue @@ -3428,8 +3428,8 @@ }; }, mounted() { - console.log('鏁版嵁',testData[1]); this.$data.questionData = getQuestionData(testData[1]) + console.log('棰樼洰',this.$data.questionData ); this.$data.pathOne = getResourcePath('f6f6588a75086576b87bed2fb9ca1ec1') this.$data.pathTwo = getResourcePath('e5993b62684fe55d13190cfe52bf00ed') this.$data.pathThree = getResourcePath('6b6d42213aa85aa5ff7724aaf96ffee6') @@ -3449,7 +3449,6 @@ this.$data.videoOne = !this.$data.videoOne; } else if (type == "testOne") { this.$data.testOne = !this.$data.testOne; - this.getQuestionList(); } else if(type == 'learnTableTwo') { this.$data.learnTableTwo = !this.$data.learnTableTwo }else if(type == 'learnTableThree') { @@ -3468,13 +3467,13 @@ this.$data.learnTableNine = !this.$data.learnTableNine } }, - getQuestionList() { - const testData = this.$store.state.testList.find( - (item) => item.name == "涓撻涓�鎬昏 浜轰綋姒傝堪娴嬮獙棰�" - ); - this.$data.productLinkPath = testData.productLinkPath; - if (this.$refs.examinationOne) this.$refs.examinationOne.getIdPathList(); - }, + // getQuestionList() { + // const testData = this.$store.state.testList.find( + // (item) => item.name == "涓撻涓�鎬昏 浜轰綋姒傝堪娴嬮獙棰�" + // ); + // this.$data.productLinkPath = testData.productLinkPath; + // if (this.$refs.examinationOne) this.$refs.examinationOne.getIdPathList(); + // }, }, }; </script> -- Gitblit v1.9.1