fix: 相关命名修正

- production -> product
This commit is contained in:
2025-10-24 16:41:48 +08:00
parent e780997a69
commit 963690bf53
13 changed files with 108 additions and 131 deletions

View File

@ -108,7 +108,7 @@
const filteredDocuments = computed(() =>
documents.value.filter((doc: DocumentListView) => {
const matchProduction = selectedProduct.value
const matchProduct = selectedProduct.value
? doc.products?.some(
(product: DocumentListProduct) =>
product.id === selectedProduct.value
@ -124,7 +124,7 @@
? doc.title && doc.title.includes(keyword.value)
: true;
return matchProduction && matchKeyword;
return matchProduct && matchKeyword;
})
);