This commit is contained in:
yumoqing 2024-04-02 14:59:33 +08:00
parent 041bd64294
commit c2b73a5a08

View File

@ -41,6 +41,9 @@ bricks.BaseModal = class extends bricks.Layout {
if (! this.target_w){ if (! this.target_w){
this.target_w = bricks.Body; this.target_w = bricks.Body;
} }
if (this.target_w!=bricks.Body){
this.target_w.set_style('position', 'relative');
}
this.target_w.add_widget(this); this.target_w.add_widget(this);
} }
get_zindex(){ get_zindex(){