From b36b413a69ad7fa280a1059313fef994ebe2394d Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 01 十二月 2020 09:23:55 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue
---
ruoyi-ui/src/views/monitor/cache/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/monitor/cache/index.vue b/ruoyi-ui/src/views/monitor/cache/index.vue
index 6b012df..d8e1275 100644
--- a/ruoyi-ui/src/views/monitor/cache/index.vue
+++ b/ruoyi-ui/src/views/monitor/cache/index.vue
@@ -117,14 +117,14 @@
this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons");
this.usedmemory.setOption({
tooltip: {
- formatter: "{b} <br/>{a} : {c}K",
+ formatter: "{b} <br/>{a} : " + this.cache.info.used_memory_human,
},
series: [
{
name: "宄板��",
type: "gauge",
detail: {
- formatter: "{value}K",
+ formatter: this.cache.info.used_memory_human,
},
data: [
{
--
Gitblit v1.9.3