Commit 6072239a40c18afb402b07ff182bb2594728f7a9
1 parent
a3b86d6f
修改缓存监控内存单位
Showing
1 changed file
with
2 additions
and
2 deletions
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}M", | |
| 120 | + formatter: "{b} <br/>{a} : {c}K", | |
| 121 | 121 | }, |
| 122 | 122 | series: [ |
| 123 | 123 | { |
| 124 | 124 | name: "峰值", |
| 125 | 125 | type: "gauge", |
| 126 | 126 | detail: { |
| 127 | - formatter: "{value}M", | |
| 127 | + formatter: "{value}K", | |
| 128 | 128 | }, |
| 129 | 129 | data: [ |
| 130 | 130 | { | ... | ... |