From 9e77b0f9014653255eb51e81b8a8ba719443839d Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期一, 11 十一月 2024 23:52:14 +0800
Subject: [PATCH] fix bug

---
 XQMuse/SceneDelegate.swift |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/XQMuse/SceneDelegate.swift b/XQMuse/SceneDelegate.swift
index 71e31cf..768b1e3 100644
--- a/XQMuse/SceneDelegate.swift
+++ b/XQMuse/SceneDelegate.swift
@@ -76,6 +76,7 @@
 				}
 
     //判断是否需要登录
+    @discardableResult
     func checkisLoginState()->Bool{
         if UserViewModel.getLoginInfo()?.accessToken.isEmpty ?? true{
             sceneDelegate?.needLogin()
@@ -133,8 +134,6 @@
             }else{
                 WXApi.handleOpen(URLContexts.first!.url, delegate: self)
             }
-
-
         }
     }
 

--
Gitblit v1.7.1