fix: 属性面板无法打开数据库浮窗 (#13982)

fix https://github.com/siyuan-note/siyuan/issues/13926
This commit is contained in:
Jeffrey Chen
2025-02-01 20:43:47 +08:00
committed by GitHub
parent 923b8c7e37
commit 12842e50d6

View File

@@ -334,7 +334,7 @@ export const showPopover = async (app: App, showRef = false) => {
if (!popoverTargetElement || window.siyuan.menus.menu.data?.isSameNode(popoverTargetElement)) {
return;
}
let refDefs: IRefDefs[];
let refDefs: IRefDefs[] = [];
let originalRefBlockIDs: IObject;
const dataId = popoverTargetElement.getAttribute("data-id");
if (dataId) {