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