This commit is contained in:
hzz 2023-06-27 18:14:18 +08:00
parent 550a042107
commit 8990947fd5

View File

@ -106,6 +106,10 @@ let {t} = useI18n();
try{
let data=JSON.parse(val)
if(data.type=='deviceStatusCountsOfOutPlant'){
let length = data.msg.length
if (length == 1) {
data.msg.push({counts: 0, deptId: "true"})
}
data.msg.forEach(res=>{
if(res.deptId=='true'){
res.name='在线产品'