### What problem does this PR solve? fix: display total items on chunk list page #900 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.9.0
| @@ -203,6 +203,12 @@ const Chunk = () => { | |||
| current={pagination.current} | |||
| size={'small'} | |||
| total={total} | |||
| showTotal={(total) => ( | |||
| <Space> | |||
| {t('total', { keyPrefix: 'common' })} | |||
| {total} | |||
| </Space> | |||
| )} | |||
| /> | |||
| </div> | |||
| </Flex> | |||
| @@ -29,6 +29,7 @@ const model: DvaModel<ChunkModelState> = { | |||
| chunkInfo: {}, | |||
| documentInfo: {} as IKnowledgeFile, | |||
| pagination: { | |||
| total: 0, | |||
| current: 1, | |||
| pageSize: 10, | |||
| }, | |||
| @@ -68,6 +69,7 @@ const model: DvaModel<ChunkModelState> = { | |||
| pagination: { | |||
| current: 1, | |||
| pageSize: 10, | |||
| total: 0, | |||
| }, | |||
| searchString: '', | |||
| available: undefined, | |||