This commit is contained in:
yumoqing 2024-02-21 13:17:07 +08:00
parent 035826a6d2
commit 1d1d654558

View File

@ -298,6 +298,7 @@ bricks.buildDispatchEventHandler = function(w, target, rtdata, desc){
bricks.getWidgetById = function(id, from_widget){ bricks.getWidgetById = function(id, from_widget){
if (!from_widget){ if (!from_widget){
from_widget = bricks.Body; from_widget = bricks.Body;
}
if (! id){ if (! id){
return from_widget; return from_widget;
} }