`
- for (let fac of arr) {
let goodNum = 0
- for (let ana of analyzeList[g]) {
- if (ana.factoryName === fac && ana.value !== 0) {
- goodNum = ana.value
- }
- }
+ for (let ana of analyzeList[g]) {
+ goodNum = ana.value
oneData += `
${goodNum}
`
}
result = result + oneData + '
'
}
- // console.log('result', result);
return result
}
},