Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel
2026-06-12 16:03:04 +08:00
parent d3a0107016
commit e8a02767c8
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -299,6 +299,7 @@ export const updateSearchResult = (config: Config.IUILayoutTabSearchConfig, elem
groupBy: config.group,
orderBy: config.sort,
page: config.page,
pageSize: 32,
}, (response) => {
onRecentBlocks(response.data.blocks, config, response, focusId);
loadingElement.classList.add("fn__none");
+1
View File
@@ -47,6 +47,7 @@ export const openSearch = async (options: {
group: localData.group,
sort: localData.sort,
types: Object.assign({}, localData.types),
subTypes: Object.assign({}, localData.subTypes),
replaceTypes: Object.assign({}, localData.replaceTypes),
page: options.key ? 1 : localData.page
};
+1
View File
@@ -1358,6 +1358,7 @@ export const inputEvent = (element: Element, config: Config.IUILayoutTabSearchCo
groupBy: config.group,
orderBy: config.sort,
page: config.page || 1,
pageSize: 32,
}, (response) => {
const searchReqId = config.method === 4
? window.siyuan.reqIds["/api/search/semanticSearchBlock"]