Commit 3b2669d1 authored by RuoYi's avatar RuoYi

修改缓存监控内存单位

parent 1147ea5f
...@@ -117,14 +117,14 @@ export default { ...@@ -117,14 +117,14 @@ export default {
this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons"); this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons");
this.usedmemory.setOption({ this.usedmemory.setOption({
tooltip: { tooltip: {
formatter: "{b} <br/>{a} : {c}K", formatter: "{b} <br/>{a} : " + this.cache.info.used_memory_human,
}, },
series: [ series: [
{ {
name: "峰值", name: "峰值",
type: "gauge", type: "gauge",
detail: { detail: {
formatter: "{value}K", formatter: this.cache.info.used_memory_human,
}, },
data: [ data: [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment