方法:addJs($js)

参数 含义 类型
js js文件路径 string

返回:Widget

$widget = new Widget();
return $widget
    ->setUrl(url('newsSave'))
    ->setAjax('ajaxForm-noJump')
    ->addJs(__ROOT__ . '/public/bootstrap-timepicker/js/bootstrap-timepicker.min.js')
    ->fetch();

addJs