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; } } };