1
YM
2024-05-22 7459b4778cd9d592ea8f6dfe5e6fe3688f537365
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;
    }
  }
};