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