mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
This commit is contained in:
parent
fbe0f4f303
commit
c437f8df9e
2 changed files with 9 additions and 20 deletions
|
|
@ -53,6 +53,11 @@ export const getNewFilePath = (useSavePath: boolean) => {
|
|||
/// #else
|
||||
if (window.siyuan.mobile.editor) {
|
||||
notebookId = window.siyuan.mobile.editor.protyle.notebookId;
|
||||
if (useSavePath) {
|
||||
currentPath = window.siyuan.mobile.editor.protyle.path;
|
||||
} else {
|
||||
currentPath = pathPosix().dirname(window.siyuan.mobile.editor.protyle.path);
|
||||
}
|
||||
}
|
||||
/// #endif
|
||||
if (!notebookId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue