laravel-admin 顶部增加一个按钮
$curl = "/table";
$grid->tools(function (Grid\Tools $tools) use($curl){
$tools->append('<div class="btn-group pull-right grid-create-btn" style="margin-right: 10px">
<a href="'.$curl.'" class="btn btn-sm btn-success" title="在线修改">
<i class="fa fa-plus"></i><span class="hidden-xs"> 在线修改</span>
</a>
</div>' );
});
最近访问时间:2024-10-09 08:01:14