From 2dfe58ec96a3ec0a560a9bd38e04f363d938bbdc Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期四, 13 六月 2024 14:12:57 +0800 Subject: [PATCH] 优化 --- src/App.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index ca0154f..f35507f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,12 +3,13 @@ <childHealth v-if="activeBook.name == 'childHealth'"></childHealth> <lifeCare v-if="activeBook.name == 'lifeCare'"></lifeCare> <embedded v-if="activeBook.name == 'embedded'"></embedded> - <english v-if="activeBook.name == 'english'"> </english> + <english v-if="activeBook.name == 'english'"></english> <sportsAndHealth v-if="activeBook.name == 'sportsAndHealth'" ></sportsAndHealth> <artAndDance v-if="activeBook.name == 'artAndDance'"></artAndDance> - <mathDom v-if="activeBook.name == 'math'"></mathDom> + <artAndDrama v-if="activeBook.name == 'artAndDrama'"></artAndDrama> + <mathBook v-if="activeBook.name == 'math'"></mathBook> </div> </template> @@ -19,7 +20,8 @@ import english from "./books/English/view/index.vue"; import sportsAndHealth from "./books/sportsAndHealth/view/index"; import artAndDance from './books/artAndDance/view/index.vue' -import mathDom from './books/math/view/index' +import mathBook from './books/math/view/index.vue' +import artAndDrama from './books/artAndDrama/view/index.vue' export default { name: "App", components: { @@ -29,7 +31,8 @@ english, sportsAndHealth, artAndDance, - mathDom + mathBook, + artAndDrama }, data() { return { @@ -74,8 +77,9 @@ // embedded // english // artAndDance + // artAndDrama // math - this.config.resourceCtx + "sportsAndHealth" + this.config.resourceCtx + "lifeCare" ); // 娴嬭瘯璇曡30椤� // this.activeBook.tryPageCount = 10; -- Gitblit v1.9.1