加入 包廂控制後關閉視窗 20250604
This commit is contained in:
parent
450811e641
commit
c52509b478
@ -88,8 +88,14 @@ class RoomDetailModal extends Component
|
||||
$this->addError('api', 'API request failed: ' . $response->body());
|
||||
return false;
|
||||
}
|
||||
|
||||
// 可以加入成功提示或事件
|
||||
// ✅ 成功提示
|
||||
$this->notification()->send([
|
||||
'icon' => 'success',
|
||||
'title' => '成功',
|
||||
'description' => '命令已成功發送:' . $data['command'],
|
||||
]);
|
||||
// ✅ 關閉 modal
|
||||
$this->showModal = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user