完善前端WebSocket更新逻辑

This commit is contained in:
BBIT-Kai
2025-12-30 17:56:07 +08:00
parent 3c1128b356
commit d6c7f209c7
6 changed files with 32 additions and 37 deletions
+2 -2
View File
@@ -78,13 +78,13 @@ async function deleteDevice(id: string) {
async function iotSendCommand(
id: string,
command: string,
project: string,
dept_id: string,
device_type: string,
) {
return pyRequestClient.post('/iot/common/device/command', {
id,
command,
project,
dept_id,
device_type,
});
}