feat(前端界面): 提升全文搜索速度,减少等待
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-13 15:30:46 +08:00
1 parent 29274345a7
commit 481b21c7ce
1 file changed
-4
-4
View File
@@ -2036,10 +2036,6 @@ async function searchDocument() {
const pageCount = state.doc.pageCount;
try {
for (let page = 0; page < pageCount; page += 1) {
await waitForPaint();
if (seq !== state.searchSeq || openSeq !== state.openSeq) {
return;
}
const matches = await callWASM("ofdgoSearchPage", page, query);
if (seq !== state.searchSeq || openSeq !== state.openSeq) {
return;