This commit is contained in:
yumoqing 2024-06-29 20:06:36 +08:00
parent e8d6d40375
commit 2b8394685c

View File

@ -478,7 +478,7 @@ bricks.App = class extends bricks.Layout {
this.i18n.setup_dict(d);
}
async build(){
var opts = structuredClone(this.opts.widget);
var opts = bricks.extend({}, this.opts.widget);
var w = await bricks.widgetBuild(opts, bricks.Body);
if (!w){
bricks.debug('w=', w, 'Body=', bricks.Body, 'Factory=', bricks.Factory)