feat(前端界面): 统一注解搜索文案
build.yaml / build (push) Successful in 51s

This commit is contained in:
xiaoqidun committed 2026-10-13 16:41:57 +08:00
1 parent c74dff1e41
commit cd5ea45a89
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -8286,7 +8286,7 @@ function renderAnnotationSummary() {
const kind = el.annotationsKind.value;
const labels = {Path: "批注", Highlight: "高亮", Stamp: "印章", Watermark: "水印", Link: "链接"};
const items = summary.items.filter(item => (!kind || item.type === kind) && `${item.remark || ""}\n${item.creator || ""}\n${item.id}`.toLocaleLowerCase().includes(query));
el.annotationsStatus.textContent = summary.items.length ? `${items.length} / ${summary.items.length}` : "暂无注解";
el.annotationsStatus.textContent = summary.items.length ? `${items.length} / ${summary.items.length}` : "";
el.annotationsList.replaceChildren(...items.map(item => {
const row = document.createElement("div");
row.className = "annotation-summary";