mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-03 03:36:58 +00:00
Adjusted system status widget
This commit is contained in:
parent
b4952dea7b
commit
d92e62e40b
@ -45,7 +45,8 @@ const getData = () => {
|
||||
<div class="progress-bar" :style="{width: `${data?.cpu.cpu_percent}%` }"></div>
|
||||
</div>
|
||||
<div class="d-flex mt-2 gap-1">
|
||||
<CpuCore v-for="(cpu, count) in data?.cpu.cpu_percent_per_cpu"
|
||||
<CpuCore
|
||||
v-for="(cpu, count) in data?.cpu.cpu_percent_per_cpu"
|
||||
:key="count"
|
||||
:align="(count + 1) > Math.round(data?.cpu.cpu_percent_per_cpu.length / 2)"
|
||||
:core_number="count" :percentage="cpu"
|
||||
|
Loading…
x
Reference in New Issue
Block a user