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
@@ -11,14 +11,14 @@ class EditExam extends EditRecord
{
protected static string $resource = ExamResource::class;
protected function getActions(): array
protected function getHeaderActions(): array
{
return [
Actions\DeleteAction::make(),
];
}
public function save(bool $shouldRedirect = true): void
public function save(bool $shouldRedirect = true, bool $shouldSendSavedNotification = true): void
{
$data = $this->form->getState();
$examRep = new ExamRepository();