This commit is contained in:
Vanessa 2022-06-29 09:21:08 +08:00
parent 743b559351
commit cb44439d66
4 changed files with 4 additions and 9 deletions

View file

@ -46,9 +46,6 @@ export class Dialog {
}
public destroy() {
if (this.disableClose) {
return false;
}
this.element.remove();
if (this.destroyCallback) {
this.destroyCallback();
@ -59,7 +56,6 @@ export class Dialog {
return true;
}
});
return true;
}
public bindInput(inputElement: HTMLInputElement, enterEvent?: () => void) {