This commit is contained in:
Vanessa 2022-12-20 20:25:30 +08:00
parent 4868392491
commit 9ffb1e20cf
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ export abstract class Constants {
// localstorage
public static readonly LOCAL_SEARCHEDATA = "local-searchedata";
public static readonly LOCAL_SEARCHEKEYS = "local-searchekeys";
public static readonly LOCAL_SEARCHEKEYS = "local-searchekeys"; // "keys","col", "row", "replaceKeys"
public static readonly LOCAL_DOCINFO = "local-docinfo"; // only mobile
public static readonly LOCAL_DAILYNOTEID = "local-dailynoteid";
public static readonly LOCAL_HISTORYNOTEID = "local-historynoteid";

View file

@ -61,7 +61,7 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
paragraph: window.siyuan.config.search.paragraph,
};
}
let hPath = localData;
let hPath = "";
let idPath: string[] = [];
if (notebookId) {
hPath = escapeHtml(getNotebookName(notebookId));