2 Commits 88dbf83f8e ... a576602268

Author SHA1 Message Date
  liutian a576602268 fix: 修复选中注释及删除注释 API 问题 3 weeks ago
  liutian 88dbf83f8e fix: 修复选中注释及删除注释 API 问题 3 weeks ago
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/core/src/index.js

+ 4 - 1
packages/core/src/index.js

@@ -2064,7 +2064,10 @@ class ComPDFKitViewer {
   }
 
   handleCreateSignature(data) {
-    this.addAnnotations(data)
+    this.eventBus.dispatch('annotationChange', {
+      type: 'add',
+      annotation: data
+    })
   }
 
   webViewerDistanceChanged(evt) {