diff --git a/src/hooks/useMetrics.ts b/src/hooks/useMetrics.ts index 1dd8554b4..aafdf32d6 100644 --- a/src/hooks/useMetrics.ts +++ b/src/hooks/useMetrics.ts @@ -394,7 +394,7 @@ export const useBridgeMetrics = (): { } export const useActionQueueMetrics = () => { - const getSizeStr = (bytes: number) => transMemorySizeNumToStr(bytes, 5) + const getSizeStr = (bytes: number) => transMemorySizeNumToStr(bytes, 2) const numPartReg = /^-?\d+(\.\d+)?/ const getSizeNumPart = (size: string) => numPartReg.exec(size)?.[0] || '0' const getSizeUnitPart = (size: string) => size.replace(numPartReg, '') || 'Bytes' diff --git a/src/views/Clients/Clients.vue b/src/views/Clients/Clients.vue index 1736e7ac6..dbe18b15f 100644 --- a/src/views/Clients/Clients.vue +++ b/src/views/Clients/Clients.vue @@ -156,7 +156,6 @@ :current-page="page" :hasnext="hasNext" :page-size="limit" - :total="clientsCount" :page-sizes="defaultPageSizeOpt" :layout="paginationLayout" @size-change="handleSizeChange" @@ -177,7 +176,6 @@ export default defineComponent({