mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 18:10:43 +08:00
This commit is contained in:
parent
fac82ad618
commit
e01b7256b5
@ -772,7 +772,8 @@ export class Files extends Model {
|
|||||||
if (!liElement) {
|
if (!liElement) {
|
||||||
const dirname = pathPosix().dirname(currentPath);
|
const dirname = pathPosix().dirname(currentPath);
|
||||||
if (dirname === "/") {
|
if (dirname === "/") {
|
||||||
currentPath = dirname;
|
this.getLeaf(treeElement.firstElementChild, notebookId, true);
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
currentPath = dirname + ".sy";
|
currentPath = dirname + ".sy";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user