!878 fix: 场景联动中设备状态变更配置的参数值(在线-online,离线-offline)与后台实际使用的(在线-1,离线-2)不一致,导致场景不生效。

Merge pull request !878 from 熊猫大侠/master-iot
master
芋道源码 2026-05-23 09:33:27 +00:00 committed by Gitee
commit 7dd7309e9c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -438,12 +438,12 @@ export const IoTDeviceStatusEnum = {
// 在线状态 // 在线状态
ONLINE: { ONLINE: {
label: '在线', label: '在线',
value: 'online', value: '1',
tagType: 'success' tagType: 'success'
}, },
OFFLINE: { OFFLINE: {
label: '离线', label: '离线',
value: 'offline', value: '2',
tagType: 'danger' tagType: 'danger'
}, },
// 启用状态 // 启用状态