mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 11:00:52 +08:00
🎨
This commit is contained in:
parent
3d1ff6ac16
commit
901ff9559b
@ -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…
Reference in New Issue
Block a user