mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-11 22:50:42 +08:00
🐛 Load1判断方式有误,导致负载0的显示异常
This commit is contained in:
parent
fb3267f978
commit
4502683cd5
@ -264,7 +264,7 @@ const gpuList = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const sysLoadInfo = computed(() => {
|
const sysLoadInfo = computed(() => {
|
||||||
if (props.info?.State?.Load1) {
|
if (props.info?.State?.Load1 !== undefined) {
|
||||||
return [
|
return [
|
||||||
props.info.State?.Load1,
|
props.info.State?.Load1,
|
||||||
props.info.State?.Load5,
|
props.info.State?.Load5,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user