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)
this.build_toolbar(this);
}
redispatch_submited(args, event){
console.log('redispatch_submited():args=',args, 'event=', event);
self.dispatch('submited', args);
redispatch_submited(event){
console.log('redispatch_submited():'event=', event);
this.dispatch('submited', event.params);
}
build_toolbar(widget){
var box = new bricks.HBox({height:'auto', width:'100%'});