From ab8a1f1e9c4c342a0c79fab02486bc18c75fbb7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=BA=A2=E4=B8=BD?= <1181930680@qq.com> Date: Sat, 14 Sep 2024 11:12:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/caches/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/monitor/caches/index.vue b/src/views/monitor/caches/index.vue index 17052a5..af3fe15 100644 --- a/src/views/monitor/caches/index.vue +++ b/src/views/monitor/caches/index.vue @@ -98,8 +98,9 @@ const loadCachekeys = async () => { let datas = [] const result = await getCacheKeys(cacheName.value); result.map(item=>{ + let len = item.split(':').length datas.push({ - cacheKey:item.split(':')[1] + cacheKey:item.split(':')[len-1] }) }) cacheKeyData.value = datas