From 9a697d6a8bc05955b9f7322bc86dc3e920e90e14 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 06 十一月 2025 18:07:21 +0800
Subject: [PATCH] Merge branch 'wuhuyancao' of http://139.186.142.91:10010/r/productDev/dmvisit into wuhuyancao

---
 h5/pages/index/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/h5/pages/index/index.vue b/h5/pages/index/index.vue
index b308766..7300f5f 100644
--- a/h5/pages/index/index.vue
+++ b/h5/pages/index/index.vue
@@ -43,21 +43,22 @@
 		onLoad() {
 			const ywinfo = uni.getStorageSync('ywinfo') || {}
 			if (ywinfo.ywid && ywinfo.type == 1) {
-				setTimeout(() => {
-					uni.removeStorageSync('ywinfo')
-				}, 500)
+				uni.setStorageSync('ywinfo',{})
 				const yw = ywinfo.yw
-				if (yw == 2) {
-					uni.navigateTo({
-						url: '/pages/appointmentDetails/appointmentDetails?id=' + ywinfo.ywid
-					})
-				}
+				setTimeout(() => {
+					if (yw == 2) {
+						uni.navigateTo({
+							url: '/pages/appointmentDetails/appointmentDetails?id=' + ywinfo.ywid
+						})
+					}
+				}, 100)
 			}
 		},
 		methods: {
 			jump(type) {
 				switch (type) {
 					case 1:
+						console.log('1')
 						uni.navigateTo({
 							url: '/pages/notice/notice'
 						})

--
Gitblit v1.9.3