Skip to content

Commit

Permalink
fix(webui): fix hour chart error
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Apr 3, 2021
1 parent a45811d commit 22988d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-webui/client/views/home/hour-chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const option = computed(() => ({
const source = stats.value.hours[dataIndex]
const output = [
`${formatHour(x)}`,
`消息总量:${+source.total.toFixed(1)}`,
`消息总量:${+(source.total || 0).toFixed(1)}`,
]
params.reverse().forEach(({ seriesName, color, data: [x, y], marker }, index) => {
const value = index === 0 ? source.command
Expand Down

0 comments on commit 22988d5

Please sign in to comment.