From 6d9652287b1aaf1fbb2423921b4ea036839c5a74 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Tue, 31 Oct 2023 14:26:06 +0800
Subject: [PATCH] fix:小程序分享功能

---
 pages/index/index.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index bc74e39..76ce2ed 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -46,6 +46,7 @@
 				this.showTabBar = data.data.showTabBar
 				this.$refs.agencyPage.getContaminateList()
 			})
+			this.share.title = this.title
 		},
 		methods: {
 			getData() {
@@ -56,9 +57,12 @@
 				if (index === 2) {
 					this.isShow = false
 					this.title = '������'
+					this.share.title = this.title
 				}
 				if (index === 0) {
 					this.isShow = true
+					this.title = '������'
+					this.share.title = this.title
 					this.$nextTick(() => {
 						this.getData()
 					})

--
Gitblit v1.8.0