update
This commit is contained in:
parent
550a042107
commit
8990947fd5
@ -106,6 +106,10 @@ let {t} = useI18n();
|
|||||||
try{
|
try{
|
||||||
let data=JSON.parse(val)
|
let data=JSON.parse(val)
|
||||||
if(data.type=='deviceStatusCountsOfOutPlant'){
|
if(data.type=='deviceStatusCountsOfOutPlant'){
|
||||||
|
let length = data.msg.length
|
||||||
|
if (length == 1) {
|
||||||
|
data.msg.push({counts: 0, deptId: "true"})
|
||||||
|
}
|
||||||
data.msg.forEach(res=>{
|
data.msg.forEach(res=>{
|
||||||
if(res.deptId=='true'){
|
if(res.deptId=='true'){
|
||||||
res.name='在线产品'
|
res.name='在线产品'
|
||||||
|
Loading…
Reference in New Issue
Block a user