闫增涛
2024-10-17 e411aae838823ff5e3eee452188c7227bccf0e33
src/App.vue
@@ -61,19 +61,18 @@
      // artAndDance
      // 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;