fix: npm events 头部列表数字千位分割

This commit is contained in:
@changcode
2022-10-14 18:24:39 +08:00
parent 8f59840747
commit b4ebb342f0

View File

@@ -70,7 +70,7 @@ export default {
res.data.result.forEach(t => {
this.chartData.forEach(d => {
if (d.eventSeverity === t.eventSeverity) {
d.count = t.count
d.count = t.count.toLocaleString()
}
})
})