设备详情修改
This commit is contained in:
@@ -425,10 +425,9 @@ export default {
|
||||
// }
|
||||
// })
|
||||
this.IOData = JSON.parse(message.toString())
|
||||
this.IOData = this.IOData.filter((item) => item.value !== 0)
|
||||
this.IOData.forEach((item) => {
|
||||
if (item.value === 0) {
|
||||
item.value = '0'
|
||||
} else if (!item.value) {
|
||||
if (!item.value) {
|
||||
item.value = ''
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user