硬盘状态显示改为已用和剩余
This commit is contained in:
parent
61279cfdc5
commit
82297a0f08
@ -61,7 +61,7 @@ onUnmounted(() => {
|
|||||||
:progress-height="5"
|
:progress-height="5"
|
||||||
:percentage="correctionNumber(diskState?.usedPercent || 0)"
|
:percentage="correctionNumber(diskState?.usedPercent || 0)"
|
||||||
:card-type-style="cardTypeStyle"
|
:card-type-style="cardTypeStyle"
|
||||||
:info-card-right-text="`${formatdiskSize(formatdiskToByte(diskState?.total || 0))}/${formatdiskSize(formatdiskToByte(diskState?.free || 0))}`"
|
:info-card-right-text="`${formatdiskSize(formatdiskToByte(diskState?.used || 0))}/${formatdiskSize(formatdiskToByte(diskState?.free || 0))}`"
|
||||||
:info-card-left-text="diskState?.mountpoint"
|
:info-card-left-text="diskState?.mountpoint"
|
||||||
:text-color="textColor"
|
:text-color="textColor"
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user