mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛
This commit is contained in:
parent
c7a74fc7bc
commit
0f4de03dec
1 changed files with 3 additions and 0 deletions
|
|
@ -1104,6 +1104,9 @@ data-type="navigation-root" data-path="/">
|
|||
return;
|
||||
}
|
||||
const liElement = this.element.querySelector(`ul[data-url="${data.box}"] li[data-path="${data.path}"]`);
|
||||
if (!liElement) {
|
||||
return;
|
||||
}
|
||||
if (liElement.nextElementSibling && liElement.nextElementSibling.tagName === "UL") {
|
||||
// 文件展开时,刷新
|
||||
liElement.nextElementSibling.remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue