From 341728774cb98e3aa4abfe32a6ff5e6e49c7055d Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 22 十一月 2024 12:58:50 +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