fix:仪表盘分页器中英文
This commit is contained in:
@@ -669,6 +669,7 @@ const local: any = {
|
||||
switches:'SWITCHES',
|
||||
clients:'CLIENTS',
|
||||
search:'Search site name',
|
||||
total:'Total',
|
||||
},
|
||||
headerbanner:{
|
||||
controller:'Controller Overview',
|
||||
|
||||
@@ -669,6 +669,7 @@ const local:any = {
|
||||
switches:'交换机',
|
||||
clients:'装置',
|
||||
search:'输入站点名称',
|
||||
total:'共',
|
||||
},
|
||||
headerbanner:{
|
||||
controller:'控制仪表盘',
|
||||
|
||||
@@ -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
|
||||
}"
|
||||
|
||||
Reference in New Issue
Block a user