Prechádzať zdrojové kódy

修改缓存监控内存单位

RuoYi 4 rokov pred
rodič
commit
6072239a40

+ 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: [
                 {