zhongshujie
2024-10-17 3085935fbdc96b23d8852c35daa8e1a398ba442d
src/App.vue
@@ -34,12 +34,10 @@
  async created() {
    if (this.setGlobalState) {
      this.setGlobalState({
        initTestBook: async (bookId, tryPageCount) => {
          this.activeBook = await this.config.getBookConfig(
            process.env.VUE_APP_RESOURCE_CTX + process.env.VUE_APP_BOOK_ID
          );
          this.config.activeBook = this.activeBook;
          this.config.goodsStore = this.activeBook.storeRefcode;
          if (tryPageCount) {
@@ -68,7 +66,7 @@
      // process.env.VUE_APP_RESOURCE_CTX +
      //   (process.env.VUE_APP_ENV == "product"
      //     ? process.env.VUE_APP_BOOK_ID
      //     : "mathBook")
      //     : "artAndDrama")
      // );
      this.activeBook = await this.config.getBookConfig(
        'http://182.92.203.7:3007/books/resource/'+