$dataProvider,
'columns' => [
[
'attribute' => 'id',
'label' => 'Id',
"width" => "30px",
'align' => 'center'
],
[
'attribute' => 'cat_name',
'label' => '类名'
],
'icon',
'icon_type',
'description:ntext',
[
'class' => 'yii\grid\ActionColumn',
],
],
]);
?>