Browse Source

【会员】登录界面图片替换

lizhe 1 year ago
parent
commit
d50dce0bc9

+ 2 - 2
PDF Office/PDF Master/Class/KMLightMember/Controller/Login&Register/View/KMLoginLeftImageView.swift

@@ -63,9 +63,9 @@ class KMLoginLeftImageView: KMBaseXibView {
 //            self.subscriptionButton.isHidden = true
         default:
             #if VERSION_FREE
-            image = NSImage(named: "image_PopupAppstore")!
+            image = NSImage(named: "image_PopupAppstore") ?? NSImage()
             #else
-            image = NSImage(named: "image_PopupDMG")!
+            image = NSImage(named: "image_PopupDMG") ?? NSImage()
             #endif
 //            self.subscriptionButton.isHidden = false
         }