This commit is contained in:
jxxghp
2023-07-11 12:33:53 +08:00
parent a8027f1316
commit 9b6f0d094d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ onUnmounted(() => {
</script> </script>
<template> <template>
<VCard> <VCard title="系统进程">
<VTable <VTable
:headers="headers" :headers="headers"
:items="processList" :items="processList"
@@ -80,7 +80,7 @@ const options = controlledComputed(
}, },
formatter: (value: number) => formatter: (value: number) =>
`${value > 999 ? `${(value / 1000).toFixed(0)}` : value}k`, `${value > 999 ? `${(value / 1000).toFixed(0)}` : value}`,
}, },
}, },
}; };