This commit is contained in:
Vanessa 2022-06-10 00:06:51 +08:00
parent a138fc821b
commit 76fd4c280a
2 changed files with 11 additions and 1 deletions

View file

@ -499,6 +499,10 @@ export class MobileFiles extends Model {
} else {
targetElement.remove();
}
if (window.siyuan.mobileEditor && window.siyuan.mobileEditor.protyle.path === data.data.path) {
setEmpty();
}
}
}