1
闫增涛
2024-10-16 0a28f200fbb083635ab9de5a4d8fac12c6c0b4af
src/App.vue
@@ -62,18 +62,18 @@
      // artAndDrama
      // mathBook
      this.activeBook = await this.config.getBookConfig(
      process.env.VUE_APP_RESOURCE_CTX +
        (process.env.VUE_APP_ENV == "product"
          ? process.env.VUE_APP_BOOK_ID
          : "mathBook")
      );
      // this.activeBook = await this.config.getBookConfig(
      //   'http://182.92.203.7:3007/books/resource/'+
      // process.env.VUE_APP_RESOURCE_CTX +
      //   (process.env.VUE_APP_ENV == "product"
      //     ? process.env.VUE_APP_BOOK_ID
      //     : "botany")
      //     : "mathBook")
      // );
      this.activeBook = await this.config.getBookConfig(
        'http://182.92.203.7:3007/books/resource/'+
        (process.env.VUE_APP_ENV == "product"
          ? process.env.VUE_APP_BOOK_ID
          : "botany")
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 10;
      this.config.activeBook = this.activeBook;