From 75d7a607f54454c01f9796eccf03bb7a21a921c4 Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Wed, 2 Apr 2025 19:24:57 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BD=BF=E7=94=A8=E5=8E=9F?=
=?UTF-8?q?=E7=94=9F=E7=BB=84=E4=BB=B6=E9=87=8D=E6=9E=84redis-info?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cache/components/redis-description.vue | 130 +++++++-----------
1 file changed, 46 insertions(+), 84 deletions(-)
diff --git a/apps/web-antd/src/views/monitor/cache/components/redis-description.vue b/apps/web-antd/src/views/monitor/cache/components/redis-description.vue
index 3cc48b91..784cae05 100644
--- a/apps/web-antd/src/views/monitor/cache/components/redis-description.vue
+++ b/apps/web-antd/src/views/monitor/cache/components/redis-description.vue
@@ -1,96 +1,58 @@
-
+
+
+ {{ data.redis_version }}
+
+
+ {{ data.redis_mode === 'standalone' ? '单机模式' : '集群模式' }}
+
+
+ {{ data.tcp_port }}
+
+
+ {{ data.connected_clients }}
+
+
+ {{ data.uptime_in_days }} 天
+
+
+ {{ data.used_memory_human }}
+
+
+ {{ Number.parseFloat(data?.used_cpu_user_children ?? '0').toFixed(2) }}
+
+
+ {{ data.maxmemory_human }}
+
+
+ {{ data.aof_enabled === '0' ? '否' : '是' }}
+
+
+ {{ data.rdb_last_bgsave_status }}
+
+
+ {{ data.dbSize }}
+
+
+ {{
+ `${data.instantaneous_input_kbps}kps/${data.instantaneous_output_kbps}kps`
+ }}
+
+