mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 20:11:53 +08:00
This commit is contained in:
parent
ebca9c64e1
commit
b3b67832b0
@ -77,6 +77,10 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
|
||||
} else if (window.siyuan.config.keymap.general.globalSearch.custom === hotkey) {
|
||||
hPath = localData.hPath || "";
|
||||
idPath = localData.idPath || [];
|
||||
// 历史原因,2.5.2 之前为 string https://github.com/siyuan-note/siyuan/issues/6902
|
||||
if (typeof idPath === "string") {
|
||||
idPath = [idPath];
|
||||
}
|
||||
}
|
||||
|
||||
let range: Range;
|
||||
|
Loading…
Reference in New Issue
Block a user