fix
无故事王国
2024-06-18 c1862d736587c9a5c10a368dabaeb72be2df4bcb
DolphinEnglishLearnStudent/SceneDelegate.swift
@@ -11,6 +11,7 @@
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
            var window: UIWindow?
            private var disposeBag = JQ_disposeBag
            func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
                        guard let windowScene = (scene as? UIWindowScene) else { return }
@@ -81,6 +82,8 @@
            func needLogin(){
                        sceneDelegate?.window?.rootViewController = BaseNav(rootViewController: LoginVC())
                        sceneDelegate?.window?.makeKeyAndVisible()
                        LoginTokenModel.clearToken()
            }
}