| | |
| | | ></chapterTwelve> |
| | | <chapterThirteen |
| | | v-if="showCatalogList.indexOf(13) > -1" |
| | | :showPageList="loadPageList" |
| | | ></chapterThirteen> |
| | | </div> |
| | | </div> |
| | |
| | | pageZoom() { |
| | | return this.$store.state.qiankun.scale / 100; |
| | | } |
| | | }, |
| | | provide() { |
| | | return { |
| | | changeQuestionData: this.changeQuestionData |
| | | }; |
| | | }, |
| | | watch: { |
| | | showCatalogList: { |
| | |
| | | if (testData[catalog][page]) { |
| | | if (Array.isArray(testData[catalog][page])) { |
| | | this.questionData[page] = await getQuestionList( |
| | | [], |
| | | page, |
| | | testData[catalog][page], |
| | | this.config.activeBook |
| | | ); |
| | |
| | | } |
| | | }); |
| | | }, |
| | | changeQuestionData(page, data) { |
| | | this.$props.questionData[page] = data; |
| | | } |
| | | }, |
| | | components: { |
| | | pageHeader, |