This commit is contained in:
yumoqing 2025-12-12 13:40:42 +08:00
parent b8c8efd459
commit 7e3e500009

View File

@ -325,7 +325,9 @@ var _buildWidget = async function(from_widget, target, mode, options, desc){
bricks.debug('options=', options, 'widgetBuild() failed');
return;
}
if (w instanceof bricks.Popup) {
return
}
if (w.parent) {
if (target instanceof bricks.Popup || target instanceof bricks.PopupWindow){
target.destroy();