From 2a1ed6e18853fb785bc4c8f1ca868db93224e794 Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Wed, 6 Aug 2025 18:33:32 +0800 Subject: [PATCH] =?UTF-8?q?202508061833=20=E9=A0=90=E8=A8=AD=E5=80=BC?= =?UTF-8?q?=E8=A8=AD=E9=8C=AF=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Livewire/Forms/ArtistForm.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Livewire/Forms/ArtistForm.php b/app/Livewire/Forms/ArtistForm.php index 2a6a8fd..660f9b7 100644 --- a/app/Livewire/Forms/ArtistForm.php +++ b/app/Livewire/Forms/ArtistForm.php @@ -121,6 +121,8 @@ class ArtistForm extends Component foreach ($this->fields as $key => $value) { if ($key == 'category') { $this->fields[$key] = 'unset'; + } else if( $key == 'enable') { + $this->fields[$key] = true; } else { $this->fields[$key] = ''; }