From 25dab3bdfa379f110213e0cc185308c21fa3c2e0 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期二, 28 五月 2024 17:05:03 +0800 Subject: [PATCH] 增加试读控制 --- src/App.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7c8bf4e..ad0fac7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,11 +19,11 @@ childHealth, lifeCare, embedded, - english, + english }, data() { return { - activeBook: {}, + activeBook: {} }; }, async created() { @@ -50,20 +50,23 @@ (this.$store.state.qiankun, this.$store.state.qiankun.getBookConfig) ) { this.$store.state.qiankun.getBookConfig({ - bookConfig: this.activeBook, + bookConfig: this.activeBook }); } - }, + } }); } else { this.activeBook = await this.config.getBookConfig( // childHealth this.config.resourceCtx + "childHealth" ); + // 娴嬭瘯璇曡30椤� + // this.activeBook.tryPageCount = 30; + this.config.activeBook = this.activeBook; this.config.goodsStore = this.activeBook.storeRefcode; } - }, + } }; </script> @@ -106,5 +109,4 @@ border-bottom: 2px solid; cursor: pointer; } - </style> -- Gitblit v1.9.1