This commit is contained in:
yumoqing 2025-01-02 16:05:26 +08:00
parent 0ccbc1d61b
commit 1baf3e564e

View File

@ -50,7 +50,7 @@ bricks.Popup = class extends bricks.VBox {
}
}
async load_content(){
var w = bricks.widgetBuild(this.content, this);
var w = await bricks.widgetBuild(this.content, this);
if (w){
if (this.content.dismiss_event){
w.bind(this.content.dismiss_event, this.distroy.bind(this));