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', switches:'SWITCHES',
clients:'CLIENTS', clients:'CLIENTS',
search:'Search site name', search:'Search site name',
total:'Total',
}, },
headerbanner:{ headerbanner:{
controller:'Controller Overview', controller:'Controller Overview',

View File

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

View File

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