From 6f922e8b81cacf9d6fd99ae7aeba06e8c6370e4f Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 15 Nov 2023 09:53:48 +0800
Subject: [PATCH] fix:小程序任务分类

---
 pages/index/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index 0c2d839..0836458 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -36,6 +36,10 @@
 			this.currIndex = '0'
 			this.showTabBar = true
 		},
+		onReachBottom() {
+			//������������������������������������������
+			this.$refs.agencyPage.onBottom()
+		},
 		mounted() {
 			//������������������
 			this.token = uni.getStorageSync('tonken')
@@ -45,14 +49,14 @@
 				console.log('currIndexOn', data)
 				this.currIndex = data.data.index
 				this.showTabBar = data.data.showTabBar
-				this.$refs.agencyPage.getContaminateList()
+				this.$refs.agencyPage.setData()
 			})
 			this.share.title = this.title
 		},
 		methods: {
 			getData() {
 				console.log('������������')
-				this.$refs.agencyPage.getContaminateList()
+				this.$refs.agencyPage.setData()
 			},
 			handleChangeTabe(index) {
 				if (index === 2) {

--
Gitblit v1.8.0