fix: npm events 头部列表数字千位分割
This commit is contained in:
@@ -70,7 +70,7 @@ export default {
|
|||||||
res.data.result.forEach(t => {
|
res.data.result.forEach(t => {
|
||||||
this.chartData.forEach(d => {
|
this.chartData.forEach(d => {
|
||||||
if (d.eventSeverity === t.eventSeverity) {
|
if (d.eventSeverity === t.eventSeverity) {
|
||||||
d.count = t.count
|
d.count = t.count.toLocaleString()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user