瀏覽代碼

【会员系统】比较表状态修复

wanjun 5 天之前
父節點
當前提交
9af7622882

+ 2 - 0
PDF Office/PDF Master/MemberCenter/ViewModel/KMProductModel.swift

@@ -766,6 +766,8 @@ class KMProductModel: ObservableObject {
                     membershipPurchase(.advancedAddDevicesAllAccessPack12months_pro)
                 } else if platformsArray.count == 2 {
                     membershipPurchase(.advancedAdd2DevicesAllAccessPack12months_pro)
+                } else if KMMemberInfo.shared.vip_levels == "1" {
+                    membershipPurchase(.advancedAddDevicesAllAccessPack12months_pro)
                 } else {
                     membershipPurchase(.advancedAdd2DevicesAllAccessPack12months_pro)
                 }

+ 2 - 0
PDF Office/PDF Master/MemberCenter/WindowsController/KMProductCompareWC.swift

@@ -449,6 +449,8 @@ class KMProductCompareWC: NSWindowController {
                     advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAddDevicesAllAccessPack12months_pro)
                 } else if platformsArray.count == 2 {
                     advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAdd2DevicesAllAccessPack12months_pro)
+                } else if KMMemberInfo.shared.vip_levels == "1" {
+                    advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAddDevicesAllAccessPack12months_pro)
                 } else {
                     advancedPlanPurchaseLabel.stringValue = model.getProductPrice(.advancedAdd2DevicesAllAccessPack12months_pro)
                 }