歌曲 編輯畫面問題修正 20250507

This commit is contained in:
allen.yan 2025-05-07 20:08:25 +08:00
parent c1125ae141
commit e53e2402bf
3 changed files with 15 additions and 2 deletions

View File

@ -264,7 +264,7 @@ final class SongTable extends PowerGridComponent
->slot(__('songs.edit'))
->icon('solid-pencil-square')
->class('inline-flex items-center gap-1 px-3 py-1 rounded ')
->dispatchTo('admin.song-form', 'openEditSongModal', ['id' => $row->id]);
->dispatchTo('admin.song-form', 'openModal', ['id' => $row->id]);
}
if($this->canDelect){
$actions[]=Button::add('delete')

View File

@ -1,6 +1,6 @@
<div class="flex justify-end mb-2 mr-2 mt-2 sm:mt-0 gap-3">
<x-wireui:button
wire:click="$dispatchTo('admin.song-form', 'openCreateSongModal')"
wire:click="$dispatchTo('admin.song-form', 'openModal')"
icon="plus"
label="{{ __('songs.CreateNew') }}"
class="bg-blue-600 text-white"

View File

@ -92,3 +92,16 @@ php artisan make:model RoomStatusLog -m
php artisan make:observer RoomObserver --model=Room
composer install
cp .env.example .env
php artisan key:generate
npm install && npm run build
php artisan migrate