方法:setButton($buttons=[])

注意:默认是含确认 重置按钮,如果需要自定义按钮,可以通过此方法设置 每个数组元素的结构参考button

返回:Widget

$widget=new Widget();
return $widget
       ->addTag('name1','tag标签',['sz','sh','yfcmf'],$default='yfcmf')
       ->setUrl(url('newsSave'))
       ->setAjax('ajaxForm-noJump')
       ->setButton([
                ['提交',['class'=>'btn btn-info','type'=>'submit','icon_l'=>'ace-icon fa fa-check bigger-110']],
                ['重置',['class'=>'btn','type'=>'reset','icon_l'=>'ace-icon fa fa-undo bigger-110']],
                ['返回',['class'=>'btn','type'=>'back','icon_l'=>'ace-icon fa fa-undo bigger-110',]]
            ])
        ->fetch();

form按钮