@koi-br/ocr-web-sdk 1.0.64 → 1.0.65
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-DXu2eSwz.mjs → index-BQn8gr7r.mjs} +6955 -6957
- package/dist/{index-V0zsR5TF.js → index-DA6mPffC.js} +81 -81
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{tiff.min-DvOXqQD6.mjs → tiff.min-FWTAhBuz.mjs} +1 -1
- package/dist/{tiff.min-fgnyaU_t.js → tiff.min-umwnTD_S.js} +1 -1
- package/package.json +1 -1
- package/preview/ImagePreview.vue +0 -21
package/package.json
CHANGED
package/preview/ImagePreview.vue
CHANGED
|
@@ -2751,27 +2751,6 @@ const highlightPosition = (
|
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
2753
|
|
|
2754
|
-
// 5秒后自动取消高亮
|
|
2755
|
-
// 清除之前的定时器(防止多个定时器同时存在)
|
|
2756
|
-
if (highlightTimer) {
|
|
2757
|
-
clearTimeout(highlightTimer);
|
|
2758
|
-
}
|
|
2759
|
-
|
|
2760
|
-
highlightTimer = setTimeout(() => {
|
|
2761
|
-
if (activeBlockDiv.value === elementRef && isHighlighted.value) {
|
|
2762
|
-
// 移除动画类
|
|
2763
|
-
elementRef.classList.remove("highlight-animated");
|
|
2764
|
-
elementRef.style.backgroundColor = "transparent";
|
|
2765
|
-
elementRef.style.boxShadow = "none";
|
|
2766
|
-
elementRef.style.border = "none";
|
|
2767
|
-
activeBlockDiv.value = null;
|
|
2768
|
-
isHighlighted.value = false;
|
|
2769
|
-
// 触发高亮清除事件,用于清除连接线
|
|
2770
|
-
emit("highlight-clear");
|
|
2771
|
-
}
|
|
2772
|
-
highlightTimer = null;
|
|
2773
|
-
}, 5000);
|
|
2774
|
-
|
|
2775
2754
|
return true;
|
|
2776
2755
|
} finally {
|
|
2777
2756
|
// 🔑 关键:无论成功还是失败,都要立即清除高亮标志
|