将下面的代码添加到控件初始化事件中:
setTimeout(function(){$(".fr-group-span").after("<br>");},100)
var el = $(this.element);
var f = function() {
var w = 0;
var cs = el.children();
if (cs.length == 0) {
setTimeout(f, 100);
return;
}
for (var i=0; i<cs.length; i++) {
w += cs.eq(i).width() + 5;
}
el.css({
width: w,
//'margin-left': 'auto',
'margin-right': 'auto',
'height':' auto',
});
}
setTimeout(f, 100);