style(web): translate the comments in the src/views directory into English
This commit is contained in:
@@ -69,7 +69,7 @@ const NodeStatistics: FC = () => {
|
||||
getNodeStatistics(id).then((res) => {
|
||||
const response = res as NodeStatisticsItem[]
|
||||
setData(response)
|
||||
// 计算count总计
|
||||
// Calculate total count
|
||||
const totalCount = response.reduce((sum, item) => sum + (item.count || 0), 0)
|
||||
setTotal(totalCount)
|
||||
setLoading(false)
|
||||
|
||||
Reference in New Issue
Block a user