fix:仪表盘分页器中英文

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

No files matched your search

+1
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',
+1
View File
@@ -669,6 +669,7 @@ const local:any = {
switches:'交换机', switches:'交换机',
clients:'装置', clients:'装置',
search:'输入站点名称', search:'输入站点名称',
total:'共',
}, },
headerbanner:{ headerbanner:{
controller:'控制仪表盘', controller:'控制仪表盘',
+1 -1
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
}" }"