mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
8ff4bd0200
commit
cbfee5abe0
3 changed files with 6 additions and 12 deletions
|
|
@ -55,7 +55,7 @@ export const openMenuPanel = (options: {
|
|||
const avID = options.blockElement.getAttribute("data-av-id");
|
||||
fetchPost("/api/av/renderAttributeView", {
|
||||
id: avID,
|
||||
query: (options.blockElement.querySelector('[data-type="av-search"]') as HTMLInputElement)?.value || "",
|
||||
query: (options.blockElement.querySelector('[data-type="av-search"]') as HTMLInputElement)?.value.trim() || "",
|
||||
pageSize: parseInt(options.blockElement.getAttribute("data-page-size")) || undefined,
|
||||
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW)
|
||||
}, (response) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue