|
@@ -4,7 +4,7 @@ namespace Dcat\Admin\Grid\Displayers;
|
|
|
|
|
|
class Button extends AbstractDisplayer
|
|
class Button extends AbstractDisplayer
|
|
{
|
|
{
|
|
- public function display($style)
|
|
|
|
|
|
+ public function display($style = 'primary')
|
|
{
|
|
{
|
|
$style = collect((array) $style)->map(function ($style) {
|
|
$style = collect((array) $style)->map(function ($style) {
|
|
return 'btn-'.$style;
|
|
return 'btn-'.$style;
|