This commit is contained in:
Vanessa 2022-06-10 00:54:53 +08:00
parent dd19b9bc44
commit 2ae388d2bb
9 changed files with 18 additions and 23 deletions

View file

@ -8,7 +8,6 @@ import {getDisplayName, getOpenNotebookCount, pathPosix} from "./pathName";
import {openFileById} from "../editor/util";
import {Constants} from "../constants";
import {isMobile} from "./functions";
import {openMobileFileById} from "../mobile/editor";
export const newFile = (notebookId?: string, currentPath?: string, open?: boolean) => {
if (getOpenNotebookCount() === 0) {