Преглед на файлове

【会员系统】DMG 进入会员信息界面Crash问题

zenghong преди 1 седмица
родител
ревизия
86e8acda3c
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

+ 5 - 1
PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

@@ -565,8 +565,12 @@ class KMUserInfoViewController: NSViewController {
         closeAccountLabel.font = NSFont.SFProTextRegularFont(14)
         closeAccountImageView.image = NSImage(named: "CloseAccountImage")
         buyNow3Box.fillColor = NSColor(named: "FFFFFF") ?? .white
-        
+#if !VERSION_DMG
         let isNoOldSubscribed = IAPProductsManager.default().allAccessPack6months_lite.isSubscribed == false && IAPProductsManager.default().allAccessPack12months_lite.isSubscribed == false
+#else
+        let isNoOldSubscribed = true
+#endif
+        
         if KMMemberInfo.shared.userScenarioType == .lite_type1 ||
             KMMemberInfo.shared.userScenarioType == .lite_type2 ||
             KMMemberInfo.shared.userScenarioType == .lite_type3 ||