mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🚨
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user