Browse Source

【文件对比】修改密码权限方式

niehaoyu 8 months ago
parent
commit
e122ee1fb0

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Compare/View/KMCompareView.swift

@@ -504,7 +504,7 @@ extension KMCompareView {
                 completion(nil)
                 return
             } else {
-                KMBaseWindowController.checkPassword(url: NSURL(fileURLWithPath: filePath) as URL, type: .owner) { success, resultPassword in
+                KMBaseWindowController.checkPassword(url: NSURL(fileURLWithPath: filePath) as URL, type: .open) { success, resultPassword in
                     if success {
                         let file = KMFileAttribute()
                         file.pdfDocument = pdfDocument