From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007

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

diff --git a/h5/pages/index/index.vue b/h5/pages/index/index.vue
index b308766..6e9fb01 100644
--- a/h5/pages/index/index.vue
+++ b/h5/pages/index/index.vue
@@ -43,15 +43,15 @@
 		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: {

--
Gitblit v1.9.3