From 716097ebdc72ac8ec028df7a5a3a676f5fc3ad82 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 30 七月 2024 09:11:01 +0800
Subject: [PATCH] ''

---
 wechat_jiaxuan/pages/index/index.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wechat_jiaxuan/pages/index/index.js b/wechat_jiaxuan/pages/index/index.js
index 927da79..d63bb12 100644
--- a/wechat_jiaxuan/pages/index/index.js
+++ b/wechat_jiaxuan/pages/index/index.js
@@ -56,8 +56,8 @@
   },
   onShow() {
     let that = this
-    const member = wx.getStorageSync('member')
-    if (member && (member.authStatus == '1' || member.authStatus == '2')) {
+    const member = wx.getStorageSync('member') || {}
+    if (member && member.id) {
       getMemberInfo().then(res => {
         this.setData({
           member: res.data

--
Gitblit v1.9.3