From 350e62c6cb17aca91c8494970bf7a5ad17b78bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=93=E8=9B=99=E5=B8=88?= <7704092966@qq.com> Date: Tue, 4 Jul 2023 15:16:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=93=E5=AD=98=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E5=9B=BE=E8=A1=A8=E6=94=AF=E6=8C=81=E8=B7=9F=E9=9A=8F?= =?UTF-8?q?=E5=B1=8F=E5=B9=95=E5=A4=A7=E5=B0=8F=E8=87=AA=E9=80=82=E5=BA=94?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/monitor/cache/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ruoyi-ui/src/views/monitor/cache/index.vue b/ruoyi-ui/src/views/monitor/cache/index.vue index e81da2e8f..4cbba98d4 100644 --- a/ruoyi-ui/src/views/monitor/cache/index.vue +++ b/ruoyi-ui/src/views/monitor/cache/index.vue @@ -110,6 +110,9 @@ export default { } ] }); + window.addEventListener("resize",()=>{ + this.commandstats.resize() + }); this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons"); this.usedmemory.setOption({ tooltip: { @@ -133,6 +136,9 @@ export default { } ] }); + window.addEventListener("resize",()=>{ + this.usedmemory.resize() + }); }); }, // 打开加载层