Browse Source

【2025】【BOTA】注释列表刷新问题

dinglingui 1 month ago
parent
commit
1d99e2a6c3

+ 2 - 2
PDF Office/PDF Master/KMClass/KMNPDFPageEdit/KMNThumbnailView/KMNThumbnailBaseViewController.swift

@@ -543,8 +543,8 @@ class KMNThumbnailBaseViewController: KMNBaseViewController,NSCollectionViewDele
                 if FileManager.default.fileExists(atPath: tFilePath) {
                     try? FileManager.default.removeItem(atPath: tFilePath)
                 }
-              let zz = try? FileManager.default.copyItem(atPath: filePathtPath, toPath: tFilePath)
-
+                try? FileManager.default.copyItem(atPath: filePathtPath, toPath: tFilePath)
+                
                 self.dragFilePath = filePathtPath
             }
         }

+ 3 - 3
PDF Office/PDF Master/KMClass/Left/Annotaion/Controller/KMLeftSideViewController+Note.swift

@@ -607,9 +607,9 @@ extension KMLeftSideViewController {
     }
     
     func note_refrshUIIfNeed() {
-//        Task { @MainActor in
-//            self.noteOutlineView.reloadData()
-//        }
+        Task { @MainActor in
+            self.noteOutlineView?.reloadData()
+        }
     }
     
     func note_reloadDataIfNeed() {