闫增涛
2024-05-15 ea614cd7d75f68c9faf759cd628bef8a83f55835
src/books/childHealth/view/content/components/chapter001.vue
@@ -3429,6 +3429,7 @@
  },
  mounted() {
    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')
@@ -3448,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') {
@@ -3467,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>