浏览代码

【编辑工具】水印移除逻辑调整

lizhe 11 月之前
父节点
当前提交
60e9272b74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      PDF Office/PDF Master/Class/PDFTools/Watermark/Tools/KMWatermarkAdjectiveTools.swift

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Watermark/Tools/KMWatermarkAdjectiveTools.swift

@@ -172,7 +172,7 @@ case bates = 4
         }
         
         DispatchQueue.global().async {
-            let document: CPDFDocument = pdfView.document
+            let document: CPDFDocument = CPDFDocument(url: pdfView.document.documentURL)
             if (type == .bates) {
                 let property = document.bates()
                 property?.clear()