From 1f6a191b738ab6d8c1ff7c3804eabb454e09c269 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 03 六月 2024 15:04:10 +0800 Subject: [PATCH] 资源请求优化 --- src/App.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index a0dfa66..7b83102 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) ) { @@ -67,11 +69,11 @@ // sportsAndHealth // embedded // english + // artAndDance this.config.resourceCtx + "childHealth" ); // 娴嬭瘯璇曡30椤� // this.activeBook.tryPageCount = 10; - this.config.activeBook = this.activeBook; this.config.goodsStore = this.activeBook.storeRefcode; } -- Gitblit v1.9.1