mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
8002110610
commit
fe84fb6abf
1 changed files with 2 additions and 2 deletions
|
|
@ -341,7 +341,7 @@ export const showPopover = async (app: App, showRef = false) => {
|
|||
// backlink/util/hint/正文标题 上的弹层
|
||||
if (showRef) {
|
||||
const postResponse = await fetchSyncPost("/api/block/getRefIDs", {id: dataId});
|
||||
refDefs = postResponse.data.refIDs;
|
||||
refDefs = postResponse.data.refDefs;
|
||||
originalRefBlockIDs = postResponse.data.originalRefBlockIDs;
|
||||
} else {
|
||||
if (dataId.startsWith("[")) {
|
||||
|
|
@ -395,7 +395,7 @@ export const showPopover = async (app: App, showRef = false) => {
|
|||
}
|
||||
if (url) {
|
||||
const postResponse = await fetchSyncPost(url, {id: targetId});
|
||||
refDefs = postResponse.data.refIDs;
|
||||
refDefs = postResponse.data.refDefs;
|
||||
originalRefBlockIDs = postResponse.data.originalRefBlockIDs;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue