$grid->tools(function (Grid\Tools $tools) { $tools->append('<a class="btn btn-sm btn-default" onClick="javascript :history.back(-1);">返回</a>'); });
效果:javascript