This commit is contained in:
Vanessa 2022-12-05 12:58:59 +08:00
parent 4362df77ba
commit d355423cab
2 changed files with 2 additions and 1 deletions

View file

@ -59,6 +59,8 @@ export class Dialog {
public destroy() {
this.element.remove();
// https://github.com/siyuan-note/siyuan/issues/6783
window.siyuan.menus.menu.remove();
if (this.destroyCallback) {
this.destroyCallback();
}