From eb0532b0ed613459085eb803605c2bb307db7e6d Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期一, 28 十月 2024 15:18:39 +0800 Subject: [PATCH] fix bug --- XQMuse/SceneDelegate.swift | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/XQMuse/SceneDelegate.swift b/XQMuse/SceneDelegate.swift index bfc9642..f16c49f 100644 --- a/XQMuse/SceneDelegate.swift +++ b/XQMuse/SceneDelegate.swift @@ -61,7 +61,9 @@ UserViewModel.clearToken() UserViewModel.clearLoginInfo() UserViewModel.clearAvatarInfo() - + + NotificationCenter.default.post(name: LoginQuit_Noti, object: nil) + let loginNav = LoginNav(rootViewController: LoginVC()) loginNav.modalPresentationStyle = .fullScreen JQ_currentViewController().present(loginNav, animated: true) -- Gitblit v1.7.1