update filamentphp basic

This commit is contained in:
xiaomlove
2024-12-25 23:09:07 +08:00
parent 183d362076
commit f146a654c2
154 changed files with 848 additions and 673 deletions

View File

@@ -142,7 +142,7 @@ class User extends Authenticatable implements FilamentUser, HasName
return self::query()->where("id", $id)->exists();
}
public function canAccessFilament(): bool
public function canAccessPanel(\Filament\Panel $panel): bool
{
return $this->canAccessAdmin();
}