瀏覽代碼

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
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      PDF Office/PDF Master/MemberCenter/WindowsController/KMLoginWindowsController.swift

+ 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()
     }