This commit is contained in:
yumoqing 2024-02-21 22:27:57 +08:00
parent e8451e5f1f
commit 6ff89c03a8

View File

@ -74,7 +74,7 @@ bricks.FormBody = class extends bricks.VBox {
var fields = this.opts.fields; var fields = this.opts.fields;
for (var i=0; i<fields.length; i++){ for (var i=0; i<fields.length; i++){
var box; var box;
if (! this.opts.input_layout or this.opts.input_layout == 'VBox'){ if (! this.opts.input_layout || this.opts.input_layout == 'VBox'){
box = new bricks.VBox({height:'auto',overflow:'none'}); box = new bricks.VBox({height:'auto',overflow:'none'});
} else { } else {
box = new bricks.HBox({height:'auto',overflow:'none'}); box = new bricks.HBox({height:'auto',overflow:'none'});