Pārlūkot izejas kodu

【2025】【Edit】细节调整

niehaoyu 3 mēneši atpakaļ
vecāks
revīzija
c3b9afb90f

+ 0 - 2
PDF Office/PDF Master/KMClass/KMHomeViewController/Views/KMHomeOpenView/KMHomeOpenView.swift

@@ -65,8 +65,6 @@ class KMHomeOpenView: BaseXibView {
                                                               buttonText: KMLocalizedString("Create PDF"))
         createFileButton.properties.propertyInfo.rightIcon_nor = NSImage(named: "arrowDown")
         createFileButton.properties.propertyInfo.rightIcon_press = NSImage(named: "arrowDown_press")
-        createFileButton.properties.propertyInfo.cornerRadius_topLeft = 0
-        createFileButton.properties.propertyInfo.cornerRadius_bottomLeft = 0
         createFileButton.reloadData()
         createFileButton.setTarget(self, action: #selector(createFileAction(_:)))
         

+ 4 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift

@@ -264,7 +264,10 @@ class KMBatesManager: NSObject {
         model.suffixString = dict["suffixString"] as! String
         model.digits = dict["digits"] as! Int
         model.startString = dict["startString"] as! String
-        model.tag = dict["tag"] as! String
+        if let value = dict["tag"] {
+            model.tag = value as! String
+        }
+        
          
         return model
     }