Compare commits

..

4 Commits

Author SHA1 Message Date
仓鼠
14abc76fbc
docs: Update README.md 2024-12-01 22:01:49 +08:00
仓鼠
9a621e3e17
docs: 更新 README.md 2024-12-01 21:59:28 +08:00
hamster1963
9e7ecc4fa4 update: v1.6.2-fix 2024-12-01 21:52:55 +08:00
hamster1963
e74e881a65 fix(detail): load toFixed 2024-12-01 21:52:39 +08:00
3 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,9 @@
</div> </div>
> [!CAUTION] > [!CAUTION]
> 与哪吒监控 V1 暂不兼容,请保持在 V0 版本。 > 此为 V0 兼容版本V1 版本 issue 也可提出
>
> 有关 V1 版本 pr 可移步 https://github.com/hamster1963/nezha-dash-react
### 部署 ### 部署

View File

@ -206,8 +206,9 @@ export default function ServerDetailClient({
<p className="text-xs text-muted-foreground">{t("Load")}</p> <p className="text-xs text-muted-foreground">{t("Load")}</p>
{data.status.NetInTransfer ? ( {data.status.NetInTransfer ? (
<div className="text-xs"> <div className="text-xs">
{data.status.Load1} / {data.status.Load5} /{" "} {data.status.Load1.toFixed(2)} /{" "}
{data.status.Load15} {data.status.Load5.toFixed(2)} /{" "}
{data.status.Load15.toFixed(2)}
</div> </div>
) : ( ) : (
<div className="text-xs">Unknown</div> <div className="text-xs">Unknown</div>

View File

@ -1,6 +1,6 @@
{ {
"name": "nezha-dash", "name": "nezha-dash",
"version": "1.6.2", "version": "1.6.2-fix",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3040", "dev": "next dev -p 3040",