From 2a32e53e45eef72bb37409b0694e4b5c2b1587af Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 23 十月 2025 15:12:26 +0800
Subject: [PATCH] 页面
---
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