This commit is contained in:
yumoqing 2024-10-28 15:48:40 +08:00
parent 56c45a6cd2
commit 640350960a

View File

@ -38,10 +38,10 @@ bricks.Popup = class extends bricks.VBox {
open(){ open(){
var rect; var rect;
var w; var w;
if (this.widget isinstanceof bricks.Widget){ if (this.widget instanceof bricks.Widget){
rect = this.widget.showRectage() rect = this.widget.showRectage()
this.issub = true; this.issub = true;
} else if (this.widget isinstanceof String){ } else if (this.widget instanceof String){
var w = bricks.getWidgetById(this.widget, bricks.Body); var w = bricks.getWidgetById(this.widget, bricks.Body);
if (!w){ if (!w){
ithis.issub = true ithis.issub = true