mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
a0f92bd836
commit
cc063aa58b
1 changed files with 2 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ export const workspaceMenu = (rect: DOMRect) => {
|
|||
};
|
||||
|
||||
const openWorkspace = (workspace: string) => {
|
||||
/// #if !BROWSER
|
||||
fetchPost("/api/system/setWorkspaceDir", {
|
||||
path: workspace
|
||||
}, () => {
|
||||
|
|
@ -130,4 +131,5 @@ const openWorkspace = (workspace: string) => {
|
|||
lang: window.siyuan.config.appearance.lang
|
||||
});
|
||||
});
|
||||
/// #endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue