Commit 6f51b7e9 by guibin

天合堂设备实时状态页面修改

parent ab49a5f5
...@@ -580,6 +580,8 @@ ...@@ -580,6 +580,8 @@
// 如果找到匹配的设备,使用其名称 // 如果找到匹配的设备,使用其名称
if (matchedDevice && matchedDevice.name) { if (matchedDevice && matchedDevice.name) {
deviceName = device.name ? matchedDevice.name : device.code deviceName = device.name ? matchedDevice.name : device.code
} else {
return false
} }
} }
return { return {
...@@ -595,6 +597,7 @@ ...@@ -595,6 +597,7 @@
red_seconds: red_seconds red_seconds: red_seconds
} }
}); });
this.deviceList = this.deviceList.filter((device) => device)
}, },
formatTime(seconds) { formatTime(seconds) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment