mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 17:10:53 +08:00
This commit is contained in:
parent
7eeac4b1a4
commit
15532c9b4e
@ -66,11 +66,12 @@ export const openSearch = async (options: {
|
||||
idPath[0] = pathPosix().join(idPath[0], options.searchPath);
|
||||
}
|
||||
} else if (window.siyuan.config.keymap.general.globalSearch.custom === options.hotkey) {
|
||||
if (localData.removed) {
|
||||
hPath = "";
|
||||
idPath = [];
|
||||
} else {
|
||||
hPath = localData.hPath;
|
||||
idPath = localData.idPath;
|
||||
// 历史原因,2.5.2 之前为 string https://github.com/siyuan-note/siyuan/issues/6902
|
||||
if (typeof idPath === "string") {
|
||||
idPath = [idPath];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user