This commit is contained in:
Vanessa 2023-04-25 10:57:14 +08:00
parent 4946121b01
commit 2494412f77
6 changed files with 10 additions and 10 deletions

View file

@ -402,7 +402,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
icon: "iconSearch",
accelerator: window.siyuan.config.keymap.general.search.custom,
async click() {
const searchPath = getDisplayName(pathString, false, true)
const searchPath = getDisplayName(pathString, false, true);
/// #if MOBILE
const response = await fetchSyncPost("/api/filetree/getHPathByPath", {
notebook: notebookId,
@ -432,7 +432,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
accelerator: window.siyuan.config.keymap.general.replace.custom,
icon: "iconReplace",
async click() {
const searchPath = getDisplayName(pathString, false, true)
const searchPath = getDisplayName(pathString, false, true);
/// #if MOBILE
const response = await fetchSyncPost("/api/filetree/getHPathByPath", {
notebook: notebookId,