fix: 修正搜索条目无法完全显示的问题

- 为查询/搜索添加更大的limit
This commit is contained in:
2025-12-18 15:05:17 +08:00
parent fcaf595b73
commit 33c0b9cc43
6 changed files with 17 additions and 7 deletions

View File

@ -11,7 +11,7 @@ export default defineEventHandler(async (event) => {
if (!q) return [];
const meili = getMeiliService();
const sections = await meili.search(q, { limit: 12 }, locale);
const sections = await meili.search(q, { limit: 500 }, locale);
// 空Section过滤
const filteredSections = sections.filter(