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(){
var rect;
var w;
if (this.widget isinstanceof bricks.Widget){
if (this.widget instanceof bricks.Widget){
rect = this.widget.showRectage()
this.issub = true;
} else if (this.widget isinstanceof String){
} else if (this.widget instanceof String){
var w = bricks.getWidgetById(this.widget, bricks.Body);
if (!w){
ithis.issub = true