From 3b0eae42c16cc4d31e24ff7e2611c47dc349c988 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 13 六月 2024 14:11:12 +0800 Subject: [PATCH] 优化 --- src/App.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 15602c5..2edaae6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,6 +8,8 @@ v-if="activeBook.name == 'sportsAndHealth'" ></sportsAndHealth> <artAndDance v-if="activeBook.name == 'artAndDance'"></artAndDance> + <artAndDrama v-if="activeBook.name == 'artAndDrama'"></artAndDrama> + <mathBook v-if="activeBook.name == 'math'"></mathBook> </div> </template> @@ -16,9 +18,10 @@ import lifeCare from "./books/lifeCare/view/index.vue"; import embedded from "./books/embedded/view/index.vue"; import english from "./books/English/view/index.vue"; -import sportsAndHealth from "./books/sportsAndHealth"; +import sportsAndHealth from "./books/sportsAndHealth/view/index"; import artAndDance from './books/artAndDance/view/index.vue' - +import mathBook from './books/math/view/index.vue' +import artAndDrama from './books/artAndDrama/view/index.vue' export default { name: "App", components: { @@ -27,7 +30,9 @@ embedded, english, sportsAndHealth, - artAndDance + artAndDance, + mathBook, + artAndDrama }, data() { return { @@ -72,7 +77,9 @@ // embedded // english // artAndDance - this.config.resourceCtx + "lifeCare" + // artAndDrama + // math + this.config.resourceCtx + "math" ); // 娴嬭瘯璇曡30椤� // this.activeBook.tryPageCount = 10; -- Gitblit v1.9.1