單機版 v.0.0.7 20250617
問題修正
This commit is contained in:
parent
6f528de820
commit
103c4bb18c
@ -92,7 +92,7 @@ class RoomForm extends Component
|
||||
$this->dispatch('pg:eventRefresh-room-table');
|
||||
}
|
||||
|
||||
public function deleteBranch($id)
|
||||
public function deleteRoom($id)
|
||||
{
|
||||
if ($this->canDelect) {
|
||||
Room::findOrFail($id)->delete();
|
||||
|
@ -190,7 +190,7 @@ final class RoomTable extends PowerGridComponent
|
||||
}
|
||||
|
||||
private function noUpdated($id,$field,$value){
|
||||
dd($id,$field,$value);
|
||||
//dd($id,$field,$value);
|
||||
$room = Room::find($id);
|
||||
if ($room) {
|
||||
$room->{$field} = $value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user