优化项目修复管理员登录提示权限不足报错

This commit is contained in:
2026-03-30 15:17:47 +08:00
parent 7db09b119e
commit 2d561f81b5
7 changed files with 25 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ class Attachment extends Backend
protected ?object $model = null;
protected array|string $quickSearchField = 'name';
protected array $withJoinTable = ['admin', 'user'];
protected array $withJoinTable = ['admin'];
protected array|string $defaultSortField = ['last_upload_time' => 'desc'];
protected function initController(Request $request): ?Response