中英文切换根据已有的功能 已经基本完善

This commit is contained in:
mmc
2026-08-14 13:33:13 +08:00
parent 62b03bba03
commit 027455272b
18 changed files with 561 additions and 481 deletions

View File

@@ -356,7 +356,7 @@ export default function DroneManagement({
pageSize: droneParams.pageSize,
total: droneTotal,
showSizeChanger: true,
showTotal: t => `${t('common.total')} ${t} ${t('common.items')}`,
showTotal: r => `${t('common.total')} ${r} ${t('common.items')}`,
onChange: (page, pageSize) => {
setDroneParams({ ...droneParams, pageNum: page, pageSize });
},