From 7459b4778cd9d592ea8f6dfe5e6fe3688f537365 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 22 五月 2024 21:09:34 +0800
Subject: [PATCH] 1

---
 src/App.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index e27c01e..58a94a1 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -31,6 +31,8 @@
       this.setGlobalState({
         initTestBook: async (bookId) => {
           this.activeBook = await this.config.getBookConfig(bookId);
+          this.config.activeBook = this.activeBook;
+          this.config.goodsStore = this.activeBook.storeRefcode;
           console.log("鍥句功", this.activeBook);
           if (
             (this.$store.state.qiankun, this.$store.state.qiankun.getBookConfig)
@@ -43,6 +45,8 @@
       });
     } else {
       this.activeBook = await this.config.getBookConfig();
+      this.config.activeBook = this.activeBook;
+      this.config.goodsStore = this.activeBook.storeRefcode;
     }
   }
 };

--
Gitblit v1.9.1