CN-1483 network overview单位统一

This commit is contained in:
hanyuxia
2023-11-24 17:11:42 +08:00
parent 6450e8e050
commit a9e84fd714
7 changed files with 63 additions and 27 deletions

View File

@@ -247,18 +247,25 @@ export const networkOverviewTabs = [
export const metricOptions = [
{
value: 'Bits/s',
label: 'Bits/s'
label: 'metric.bps'
},
{
value: 'Packets/s',
label: 'Packets/s'
label: 'metric.packets'
},
{
value: 'Sessions/s',
label: 'Sessions/s'
label: 'metric.sessions'
}
]
export const metricType = {
Bits: 'Bits/s',
Packets: 'Packets/s',
Sessions: 'Sessions/s'
}
export const operationType = {
mainMenu: 0, // 菜单
secondMenu: 2, // 二级菜单