This commit is contained in:
yumoqing 2026-02-25 14:20:49 +08:00
parent 4037956a56
commit 337787ca61

View File

@ -85,7 +85,7 @@ bricks.Popup = class extends bricks.VBox {
set_dismiss_events(w){ set_dismiss_events(w){
if (!this.dismiss_events) return; if (!this.dismiss_events) return;
this.dismiss_events.forEach(ename => { this.dismiss_events.forEach(ename => {
w.bind(ename, this.destroy.bind(this)); w.bind(ename, this.dismiss.bind(this));
}); });
} }
bring_to_top(){ bring_to_top(){