Parcourir la source

【会员系统】编译问题

dinglingui il y a 1 semaine
Parent
commit
42fef02fd3

+ 3 - 3
PDF Office/PDF Master/Class/AIInfo/AIConfigWindowController/Views/AIHeaderView/AIHeaderView.swift

@@ -58,15 +58,15 @@ class AIHeaderView: NSView, NibLoadable {
         if(KMMemberInfo.shared.isLogin == true) {
             KMUserInfoViewController.refreshTokenUserInfo {[weak self] success in
                 if(success == true) {
-                    self?.enterAIInfo()
+                    self?.enterAIInfo(sender)
                 }
             }
         } else  {
-            enterAIInfo()
+            enterAIInfo(sender)
         }
     }
     
-    func enterAIInfo() {
+    func enterAIInfo(_ sender: NSButton) {
         
         KMUserInfoVCModel().refreshUserInfo { success, msg in
             NotificationCenter.default.post(name: NSNotification.Name(rawValue: kDeviceAIStatusChangeNotification), object: nil)