Browse Source

修改缓存监控内存单位

RuoYi 4 years ago
parent
commit
6072239a40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ruoyi-ui/src/views/monitor/cache/index.vue

+ 2 - 2
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} <br/>{a} : {c}M",
+            formatter: "{b} <br/>{a} : {c}K",
           },
           series: [
             {
               name: "峰值",
               type: "gauge",
               detail: {
-                formatter: "{value}M",
+                formatter: "{value}K",
               },
               data: [
                 {