This commit is contained in:
yumoqing 2024-02-21 11:44:02 +08:00
parent 7df6ee32e2
commit d5e13933a4

View File

@ -127,9 +127,9 @@ bricks.Form = class extends bricks.VBox {
if (! opts.notoolbar) if (! opts.notoolbar)
this.build_toolbar(this); this.build_toolbar(this);
} }
redispatch_submited(args, event){ redispatch_submited(event){
console.log('redispatch_submited():args=',args, 'event=', event); console.log('redispatch_submited():'event=', event);
self.dispatch('submited', args); this.dispatch('submited', event.params);
} }
build_toolbar(widget){ build_toolbar(widget){
var box = new bricks.HBox({height:'auto', width:'100%'}); var box = new bricks.HBox({height:'auto', width:'100%'});