一点点代码整理工作
This commit is contained in:
parent
476dd4974b
commit
84015c829c
@ -3,7 +3,6 @@
|
|||||||
use app\models\PublicKeyCredentialSourceRepository;
|
use app\models\PublicKeyCredentialSourceRepository;
|
||||||
use app\models\User;
|
use app\models\User;
|
||||||
use app\utils\FileSizeHelper;
|
use app\utils\FileSizeHelper;
|
||||||
use app\utils\IPLocation;
|
|
||||||
use yii\grid\ActionColumn;
|
use yii\grid\ActionColumn;
|
||||||
use yii\grid\GridView;
|
use yii\grid\GridView;
|
||||||
use yii\helpers\Html;
|
use yii\helpers\Html;
|
||||||
@ -28,9 +27,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<?= GridView::widget([
|
<?= GridView::widget([
|
||||||
'dataProvider' => $dataProvider,
|
'dataProvider' => $dataProvider,
|
||||||
'filterModel' => $searchModel,
|
|
||||||
'columns' => [
|
'columns' => [
|
||||||
// ['class' => 'yii\grid\CheckboxColumn'],
|
|
||||||
['attribute' => 'id', 'label' => 'ID'],
|
['attribute' => 'id', 'label' => 'ID'],
|
||||||
['attribute' => 'username', 'label' => '用户名'],
|
['attribute' => 'username', 'label' => '用户名'],
|
||||||
['attribute' => 'name', 'label' => '昵称'],
|
['attribute' => 'name', 'label' => '昵称'],
|
||||||
|
Loading…
Reference in New Issue
Block a user