diff --git a/ruoyi-ui/src/views/monitor/cache/index.vue b/ruoyi-ui/src/views/monitor/cache/index.vue index 6b012df7f..d8e12757c 100644 --- a/ruoyi-ui/src/views/monitor/cache/index.vue +++ b/ruoyi-ui/src/views/monitor/cache/index.vue @@ -117,14 +117,14 @@ export default { this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons"); this.usedmemory.setOption({ tooltip: { - formatter: "{b}
{a} : {c}K", + formatter: "{b}
{a} : " + this.cache.info.used_memory_human, }, series: [ { name: "峰值", type: "gauge", detail: { - formatter: "{value}K", + formatter: this.cache.info.used_memory_human, }, data: [ {