Compare commits
10 Commits
309f83cf1f
...
341bcb314f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
341bcb314f | ||
|
|
bef02fe538 | ||
|
|
a5327427a7 | ||
|
|
cbb83cbe6b | ||
|
|
a19e63ad18 | ||
|
|
cb015bae30 | ||
|
|
5cc7417981 | ||
|
|
36bfb7b7ca | ||
|
|
aee45ca461 | ||
|
|
01ebcfa57d |
@@ -17,7 +17,7 @@ const props = defineProps<{
|
|||||||
const { cpuUsage, memUsage, diskUsage, runningTime, cpuUsageLabel, memUsageLabel, diskUsageLabel, runningTimeLabel } = toRefs(props);
|
const { cpuUsage, memUsage, diskUsage, runningTime, cpuUsageLabel, memUsageLabel, diskUsageLabel, runningTimeLabel } = toRefs(props);
|
||||||
|
|
||||||
const showCard = computed(() => {
|
const showCard = computed(() => {
|
||||||
return Object.values({ cpuUsage, memUsage, diskUsage, runningTime }).some((refValue) => !!refValue.value);
|
return Object.values({ cpuUsage, memUsage, diskUsage, runningTime }).some((value) => !!value);
|
||||||
});
|
});
|
||||||
|
|
||||||
const cpuPercent = computed(() => {
|
const cpuPercent = computed(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user