Commit 3b2669d14825e2983fad65dca8ca07482f765d58

Authored by RuoYi
1 parent 1147ea5f

修改缓存监控内存单位

ruoyi-ui/src/views/monitor/cache/index.vue
... ... @@ -117,14 +117,14 @@ export default {
117 117 this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons");
118 118 this.usedmemory.setOption({
119 119 tooltip: {
120   - formatter: "{b} <br/>{a} : {c}K",
  120 + formatter: "{b} <br/>{a} : " + this.cache.info.used_memory_human,
121 121 },
122 122 series: [
123 123 {
124 124 name: "峰值",
125 125 type: "gauge",
126 126 detail: {
127   - formatter: "{value}K",
  127 + formatter: this.cache.info.used_memory_human,
128 128 },
129 129 data: [
130 130 {
... ...