fix: complete first version issue remediation
This commit is contained in:
@@ -50,7 +50,6 @@ function mapParams(params: ApplicationCmppParams): ParamRow[] {
|
||||
{ label: '接入号', value: params.srcId || '-' },
|
||||
{ label: '连接数', value: String(params.maxConnections || '-') },
|
||||
{ label: '心跳间隔', value: `${params.heartbeatSeconds} 秒` },
|
||||
{ label: '窗口大小', value: String(params.windowSize) },
|
||||
{ label: '协议版本', value: params.protocolVersion },
|
||||
];
|
||||
}
|
||||
@@ -169,6 +168,8 @@ export function ClientApplicationsPage() {
|
||||
onNext={() => setPage((value) => Math.min(totalPages, value + 1))}
|
||||
onPrevious={() => setPage((value) => Math.max(1, value - 1))}
|
||||
page={currentPage}
|
||||
totalPages={totalPages}
|
||||
onPageChange={setPage}
|
||||
previousDisabled={currentPage <= 1}
|
||||
total={applications.length}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user