fix: 修正搜索条目无法完全显示的问题
- 为查询/搜索添加更大的limit
This commit is contained in:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user