From fbac522149c82db3c4a23691140b0370615a3329 Mon Sep 17 00:00:00 2001 From: Chika Date: Fri, 12 May 2023 16:10:14 +0800 Subject: [PATCH] =?UTF-8?q?Redis=E7=9B=91=E6=8E=A7=E7=94=A8Echart=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/redis/index.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/views/infra/redis/index.vue b/src/views/infra/redis/index.vue index 737d9ca2..0d68c88f 100644 --- a/src/views/infra/redis/index.vue +++ b/src/views/infra/redis/index.vue @@ -218,7 +218,6 @@ const getSummary = () => { usedMemoryInstance() } -<<<<<<< HEAD /** 命令使用情况 */ const initcommandStatsChart = async () => { usedmemoryEchartChika.series[0].data = [] @@ -257,6 +256,7 @@ const usedMemoryInstance = async () => { value: cache.value!.info.used_memory_human, name: '内存消耗' } + console.log(cache.value!.info) usedmemoryEchartChika.tooltip = { formatter: '{b}
{a} : ' + cache.value!.info.used_memory_human } @@ -265,10 +265,6 @@ const usedMemoryInstance = async () => { /** 初始化 **/ onMounted(() => { -======= -onBeforeMount(() => { - // TODO @hiiwbs 微信,优化使用 Echart 组件 ->>>>>>> e92361ed401771998c6abd6d9ba53801a6e0cfa6 readRedisInfo() // 加载数据 getSummary()