一点点代码整理工作

This commit is contained in:
Chenx221 2024-04-03 16:05:20 +08:00
parent 476dd4974b
commit 84015c829c
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -3,7 +3,6 @@
use app\models\PublicKeyCredentialSourceRepository;
use app\models\User;
use app\utils\FileSizeHelper;
use app\utils\IPLocation;
use yii\grid\ActionColumn;
use yii\grid\GridView;
use yii\helpers\Html;
@ -28,9 +27,7 @@ $this->params['breadcrumbs'][] = $this->title;
<div class="table-responsive">
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
// ['class' => 'yii\grid\CheckboxColumn'],
['attribute' => 'id', 'label' => 'ID'],
['attribute' => 'username', 'label' => '用户名'],
['attribute' => 'name', 'label' => '昵称'],