From 17f130e5aa42d8087128a46f1ab05d0976615d51 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期二, 04 六月 2024 15:41:05 +0800 Subject: [PATCH] 优化 --- src/books/sportsAndHealth/index.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/books/sportsAndHealth/index.vue b/src/books/sportsAndHealth/index.vue index b01a85c..375480f 100644 --- a/src/books/sportsAndHealth/index.vue +++ b/src/books/sportsAndHealth/index.vue @@ -24,16 +24,16 @@ :questionData="questionData" @eventPublic="swdtChange" /> - <!-- <ChapterThree + <ChapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :questionData="questionData" - /> --> - <!-- <ChapterFour + /> + <ChapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList" :questionData="questionData" - /> --> + /> <!-- <ChapterFive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList" @@ -104,6 +104,8 @@ import front001 from "./view/front001"; import ChapterOne from "./view/chapter001"; import ChapterTwo from "./view/chapter002"; +import ChapterThree from "./view/testDynaicTable"; +import ChapterFour from "./view/testPp"; // import ChapterThree from "./view/chapter003"; // import ChapterFour from "./view/chapter004"; // import ChapterFive from "./view/chapter005"; @@ -187,7 +189,7 @@ }, mounted() { // 榛樿鍔犺浇绔犺妭 - this.showCatalogList = [2]; + this.showCatalogList = [5]; // 婊氬姩鐩戝惉鑺傛祦 this.throttledScrollHandler = _.throttle( this.scrollFun, @@ -775,8 +777,8 @@ front001, ChapterOne, ChapterTwo, - // ChapterThree, - // ChapterFour, + ChapterThree, + ChapterFour, // ChapterFive, // chapterSix, // chapterSeven, -- Gitblit v1.9.1