@koi-br/ocr-web-sdk 1.0.46 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-DOjPkvyb.js → index-BI5CSerG.js} +4 -4
- package/dist/{index-4BxqLxuQ.mjs → index-CSM6_98N.mjs} +239 -239
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/{tiff.min-BZeJgFo-.mjs → tiff.min-CCAmG2PH.mjs} +1 -1
- package/dist/{tiff.min-DJDAfob-.js → tiff.min-DHdfwQWQ.js} +1 -1
- package/package.json +1 -1
- package/preview/ImagePreview.vue +2 -3
package/package.json
CHANGED
package/preview/ImagePreview.vue
CHANGED
|
@@ -1950,8 +1950,7 @@ const saveAnnotation = () => {
|
|
|
1950
1950
|
|
|
1951
1951
|
const annotation: AnnotationInfo = {
|
|
1952
1952
|
id:
|
|
1953
|
-
existingAnnotation?.id ||
|
|
1954
|
-
`annotation_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`,
|
|
1953
|
+
existingAnnotation?.id || "",
|
|
1955
1954
|
blockBbox: bbox,
|
|
1956
1955
|
blockContent: content,
|
|
1957
1956
|
blockPage: currentPage.value,
|
|
@@ -1966,7 +1965,7 @@ const saveAnnotation = () => {
|
|
|
1966
1965
|
} else {
|
|
1967
1966
|
// 添加新批注
|
|
1968
1967
|
emit("annotation-add", annotation);
|
|
1969
|
-
Message.success("批注已添加");
|
|
1968
|
+
// Message.success("批注已添加");
|
|
1970
1969
|
}
|
|
1971
1970
|
|
|
1972
1971
|
// 关闭输入框
|