소스 검색

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

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()