完善前端WebSocket更新逻辑
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user