---黄金指标初版

This commit is contained in:
lai
2023-12-06 18:13:21 +08:00
parent be6e91390e
commit 36ac9d0a5f
6 changed files with 257 additions and 125 deletions

View File

@@ -118,7 +118,7 @@ let tablePagination = {
showSizeChanger: true,
/**数据总数 */
total: 0,
showTotal: (total: number) => `总共 ${total}`,
showTotal: (total: number) => t('common.tablePaginationTotal', { total }),
onChange: (page: number, pageSize: number) => {
tablePagination.current = page;
tablePagination.pageSize = pageSize;