From ca803c5adc92fea885beebd42a959e8785242390 Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Wed, 18 Sep 2024 09:41:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E8=AE=B0=E6=94=BB=E7=95=A5=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subPackages/travelGuide/travelGuide.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/subPackages/travelGuide/travelGuide.vue b/subPackages/travelGuide/travelGuide.vue index a6532ad..8f5f9dc 100644 --- a/subPackages/travelGuide/travelGuide.vue +++ b/subPackages/travelGuide/travelGuide.vue @@ -58,13 +58,16 @@ } }, onShow() { - this.showMore = true - this.list = [] - this.getArticleByType() + // this.showMore = true + // this.list = [] + // this.getArticleByType() }, onReady() { this.type_id = 42 this.getArticleType() + this.showMore = true + this.list = [] + this.getArticleByType() }, onLoad(options) { let that = this @@ -123,7 +126,7 @@ }, onReachBottom() { setTimeout(() => { - if (!this.showMore) this.getList() + if (this.showMore) this.getArticleByType() },1000) } }