fix SSH 资产硬盘信息显示错误 #I8ZY7K

This commit is contained in:
bwcx_jzy 2024-01-30 17:12:14 +08:00
parent 761b5f624b
commit d1c11cee15
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
2 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@
3. 【server】修复 脚本日志时间筛选不生效(感谢[@zhaozxc2010](https://gitee.com/zhaozxc2010) [Gitee issues I8ZNKL](https://gitee.com/dromara/Jpom/issues/I8ZNKL)
4. 【server】优化 页面左侧菜单固定悬浮不跟随屏幕滚动条滚动(感谢[@a20070322](https://gitee.com/a20070322) [Gitee issues I8ZOOB](https://gitee.com/dromara/Jpom/issues/I8ZOOB) / [Gitee Pr 201](https://gitee.com/dromara/Jpom/pulls/201)
5. 【server】优化 新增机器节点提示未选择协议(感谢[@a20070322](https://gitee.com/a20070322) [Gitee issues I8ZDZT](https://gitee.com/dromara/Jpom/issues/I8ZDZT) / [Gitee Pr 202](https://gitee.com/dromara/Jpom/pulls/202)
6. 【server】修复 SSH 资产硬盘信息显示错误(感谢[@zhaozxc2010](https://gitee.com/zhaozxc2010) [Gitee issues I8ZY7K](https://gitee.com/dromara/Jpom/issues/I8ZY7K)
------

View File

@ -177,11 +177,11 @@
<template v-else-if="column.dataIndex === 'osMaxOccupyDisk'">
<a-popover title="硬盘信息">
<template v-slot:content>
<p>硬盘总量{{ renderSize(record.osMoneyTotal) }}</p>
<p>硬盘总量{{ renderSize(record.osFileStoreTotal) }}</p>
<p>硬盘最大的使用率{{ formatPercent(record.osMaxOccupyDisk) }}</p>
<p>使用率最大的分区{{ record.osMaxOccupyDiskName }}</p>
</template>
<span>{{ formatPercent(record.osMaxOccupyDisk) }} / {{ renderSize(record.osMoneyTotal) }}</span>
<span>{{ formatPercent(record.osMaxOccupyDisk) }} / {{ renderSize(record.osFileStoreTotal) }}</span>
</a-popover>
</template>