mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +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;
|
return;
|
||||||
}
|
}
|
||||||
const liElement = this.element.querySelector(`ul[data-url="${data.box}"] li[data-path="${data.path}"]`);
|
const liElement = this.element.querySelector(`ul[data-url="${data.box}"] li[data-path="${data.path}"]`);
|
||||||
|
if (!liElement) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
let nextElement = liElement.nextElementSibling;
|
let nextElement = liElement.nextElementSibling;
|
||||||
if (nextElement && nextElement.tagName === "UL") {
|
if (nextElement && nextElement.tagName === "UL") {
|
||||||
// 文件展开时,刷新
|
// 文件展开时,刷新
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue