2
0

fix:仪表盘分页器中英文

This commit is contained in:
zhongzm
2025-02-26 20:02:16 +08:00
parent 172357487c
commit 9550d9e3ce
3 changed files with 3 additions and 1 deletions

View File

@@ -669,6 +669,7 @@ const local: any = {
switches:'SWITCHES',
clients:'CLIENTS',
search:'Search site name',
total:'Total',
},
headerbanner:{
controller:'Controller Overview',

View File

@@ -669,6 +669,7 @@ const local:any = {
switches:'交换机',
clients:'装置',
search:'输入站点名称',
total:'共',
},
headerbanner:{
controller:'控制仪表盘',

View File

@@ -179,7 +179,7 @@ const handlePageSizeChange = (size: number) => {
total: total,
showSizeChanger: true,
showQuickJumper: true,
showTotal: (total: number) => ` ${total} `,
showTotal: (total: number) => `${t('page.carddata.total')} ${total} `,
onChange: handlePageChange,
onShowSizeChange: handlePageSizeChange
}"