fix: 调整模糊匹配阈值
Some checks failed
deploy to server / build-and-deploy (push) Has been cancelled

- 将阈值有0.3调整至0.6
This commit is contained in:
2025-11-10 16:42:30 +08:00
parent 710a0cdc5b
commit 86b0c29dcf
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@
const fuzzyMatchedDocuments = fuzzyMatch(documents.value, {
keyword: filters.keyword,
keys: ['title'],
threshold: 0.3,
threshold: 0.6,
});
return fuzzyMatchedDocuments.filter((doc: DocumentListView) => {
const matchProduct = filters.selectedProduct