From d02ba57ffb93b34f54512db23a61db4f9b607a99 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 27 九月 2024 16:02:40 +0800
Subject: [PATCH] 修复代码生成上级菜单显示问题

---
 src/views/monitor/cache/index.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/monitor/cache/index.vue b/src/views/monitor/cache/index.vue
index aa7ba72..fa3b7bd 100644
--- a/src/views/monitor/cache/index.vue
+++ b/src/views/monitor/cache/index.vue
@@ -98,7 +98,6 @@
         }
       ]
     });
-
     const usedmemoryInstance = echarts.init(usedmemory.value, "macarons");
     usedmemoryInstance.setOption({
       tooltip: {
@@ -122,6 +121,10 @@
         }
       ]
     })
+    window.addEventListener("resize", () => {
+      commandstatsIntance.resize();
+      usedmemoryInstance.resize();
+    });
   })
 }
 

--
Gitblit v1.9.3