//方法一:$grid->tools(function ($tools) { $tools->batch(function ($batch) { $batch->disableDelete(); });}); //方法二:$grid->batchActions(function ($batch) { $batch->disableDelete();});