Преглед изворни кода

Merge branch 'develop_PDFReaderProNew_v4.7.0_AppStroe' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderProNew_v4.7.0_AppStroe

wangshuai пре 1 дан
родитељ
комит
74a096d429

+ 3 - 1
PDF Office/PDF Master/MemberCenter/WindowsController/KMLoginWindowsController.swift

@@ -24,7 +24,7 @@ class KMLoginWindowsController: NSWindowController {
     
     var signUpView: KMSignUpView?
     
-    var loginResult: LoginResultComplete!
+    var loginResult: LoginResultComplete?
     
     private var viewModel = KMSignUpViewModel()
     private var cancellables = Set<AnyCancellable>()
@@ -56,6 +56,8 @@ class KMLoginWindowsController: NSWindowController {
     override func showWindow(_ sender: Any?) {
         super.showWindow(sender)
         
+        loginResult = nil
+        
         initializeUI()
     }