fix: 值取反了

main
陈博文 7 months ago
parent d341ffa8be
commit 0c5d501f5a

@ -665,16 +665,16 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
</Col>
<Col flex="1">
/
{convertFileSize(
instanceData?.computed_resource_claim?.ram || 0
)}{' '}
/{' '}
{convertFileSize(
(
Object.values(
instanceData?.computed_resource_claim?.vram || {}
) as number[]
).reduce((acc, curr) => acc + curr, 0)
)}{' '}
/{' '}
{convertFileSize(
instanceData?.computed_resource_claim?.ram || 0
)}
</Col>
</Row>

Loading…
Cancel
Save