Vanessa 2023-09-30 13:57:40 +08:00
parent 1063f50375
commit 2dae1200b4
8 changed files with 97 additions and 51 deletions

View file

@ -193,7 +193,12 @@ export class MobileFiles extends Model {
const notebookId = ulElement.getAttribute("data-url");
if (!window.siyuan.config.readonly) {
if (type === "new") {
newFile(app, notebookId, pathString);
newFile({
app,
notebookId,
currentPath:pathString,
useSavePath: false
});
} else if (type === "more-root") {
initNavigationMenu(app, target.parentElement);
window.siyuan.menus.menu.fullscreen("bottom");