From 0b17cbbba7c0875a6413361a95b9bef508b27444 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期一, 03 六月 2024 11:23:02 +0800 Subject: [PATCH] 优化 --- src/App.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 46d7cc0..eff2cc5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,6 +7,7 @@ <sportsAndHealth v-if="activeBook.name == 'sportsAndHealth'" ></sportsAndHealth> + <artAndDance v-if="activeBook.name == 'artAndDance'"></artAndDance> </div> </template> @@ -16,6 +17,7 @@ import embedded from "./books/embedded/view/index.vue"; import english from "./books/English/view/index.vue"; import sportsAndHealth from "./books/sportsAndHealth"; +import artAndDance from './books/artAndDance/view/index.vue' export default { name: "App", @@ -24,7 +26,8 @@ lifeCare, embedded, english, - sportsAndHealth + sportsAndHealth, + artAndDance }, data() { return { @@ -50,7 +53,6 @@ if (tryPageCount) { this.activeBook.tryPageCount = tryPageCount; } - console.log("鍥句功", this.activeBook); if ( (this.$store.state.qiankun, this.$store.state.qiankun.getBookConfig) ) { @@ -65,11 +67,13 @@ // childHealth // lifeCare // sportsAndHealth - this.config.resourceCtx + "english" + // embedded + // english + // artAndDance + this.config.resourceCtx + "lifeCare" ); // 娴嬭瘯璇曡30椤� // this.activeBook.tryPageCount = 10; - this.config.activeBook = this.activeBook; this.config.goodsStore = this.activeBook.storeRefcode; } -- Gitblit v1.9.1