From cdc04f94f8baeafb9fcf54f4c8f45e44a367a480 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期四, 13 六月 2024 14:21:13 +0800 Subject: [PATCH] 1 --- src/books/childHealth/view/content/index.vue | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/books/childHealth/view/content/index.vue b/src/books/childHealth/view/content/index.vue index 8fe8b13..b2392ea 100644 --- a/src/books/childHealth/view/content/index.vue +++ b/src/books/childHealth/view/content/index.vue @@ -21,61 +21,51 @@ v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterOne> <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterTwo> <chapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterThree> <chapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterFour> <chapterFive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterFive> <chapterSix v-if="showCatalogList.indexOf(7) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterSix> <chapterSeven v-if="showCatalogList.indexOf(8) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterSeven> <chapterEight v-if="showCatalogList.indexOf(9) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterEight> <chapterNine v-if="showCatalogList.indexOf(10) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterNine> <chapterTen v-if="showCatalogList.indexOf(11) > -1" :showPageList="loadPageList" :questionData="questionDataMap" - :isSearch="isSearch" ></chapterTen> <chapterEleven v-if="showCatalogList.indexOf(12) > -1" @@ -133,7 +123,6 @@ questionDataMap: {}, renderSignMap: {}, highlightData: null, - isSearch:false }; }, computed: { @@ -182,7 +171,7 @@ }, mounted() { // 榛樿鍔犺浇绔犺妭 - this.showCatalogList = [1]; + this.showCatalogList = [8]; // 婊氬姩鐩戝惉鑺傛祦 this.throttledScrollHandler = _.throttle( this.scrollFun, @@ -640,7 +629,6 @@ } } } - // 娓叉煋杩欎竴椤电殑鏍囪 for (const key in this.renderSignMap) { if (this.renderSignMap[key][page]) { @@ -813,6 +801,7 @@ propsData: { showPageList: [], questionData: {}, + isSearch: true }, }); pageExample.$mount( @@ -844,6 +833,7 @@ propsData: { showPageList: [pageNum], questionData: {}, + isSearch: true }, }); pageExample.$mount( -- Gitblit v1.9.1