添加刷新按钮

This commit is contained in:
limengnan 2025-09-29 10:42:36 +08:00
parent 50daf3f070
commit 7205c8271a

View File

@ -2111,7 +2111,6 @@ function refreshClick(type) {
isPreventCombo.value = true isPreventCombo.value = true
if (devicesSocket && devicesSocket.connected) { if (devicesSocket && devicesSocket.connected) {
console.log('🚀 发送重启设备请求...') console.log('🚀 发送重启设备请求...')
debugger
if(type == 'camera'){ if(type == 'camera'){
devicesSocket.emit('restart_device', { device_type: 'camera' }) devicesSocket.emit('restart_device', { device_type: 'camera' })
}else if(type == 'femtobolt'){ }else if(type == 'femtobolt'){