优化CPU绘图

This commit is contained in:
CN-JS-HuiBai
2026-04-06 15:32:54 +08:00
parent b16d910051
commit 3980d66b49
2 changed files with 9 additions and 42 deletions

View File

@@ -1340,7 +1340,6 @@
const cpuValueHtml = `
<div style="display: flex; align-items: baseline; gap: 8px;">
<span style="font-weight: 700; font-size: 1.1rem;">${formatPercent(data.cpuBusy)}</span>
<span style="font-size: 0.7rem; color: var(--text-secondary); font-weight: normal;">(IO Wait: ${data.cpuIowait.toFixed(1)}%, Busy Others: ${data.cpuOther.toFixed(1)}%)</span>
</div>
`;
// Define metrics to show