Browse Source

优化缓存监控图表支持跟随屏幕大小自适应调整

RuoYi 1 year ago
parent
commit
b8e2eeaaf8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ruoyi-ui/src/views/monitor/cache/index.vue

+ 4 - 0
ruoyi-ui/src/views/monitor/cache/index.vue

@@ -133,6 +133,10 @@ export default {
             }
           ]
         });
+        window.addEventListener("resize", () => {
+          this.commandstats.resize();
+          this.usedmemory.resize();
+        });
       });
     },
     // 打开加载层