From e9ac30316959c2332af4be3dc1a84fa4f4d94d5a Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 23 七月 2024 20:29:13 +0800
Subject: [PATCH] 代码提交
---
wechat_jiaxuan/app.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/app.js b/wechat_jiaxuan/app.js
index d6e5d3e..17d1f15 100644
--- a/wechat_jiaxuan/app.js
+++ b/wechat_jiaxuan/app.js
@@ -14,8 +14,8 @@
}
// 鎺堟潈鐧诲綍
const member = wx.getStorageSync('member')
- if (member) {
-
+ if (member && member.token) {
+
} else {
wx.login({
timeout: 5000,
@@ -46,5 +46,6 @@
}
+
}
})
\ No newline at end of file
--
Gitblit v1.9.3