mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-12-28 19:16:01 +08:00
fix 修复 缓存监控图表 支持跟随屏幕大小自适应调整
This commit is contained in:
4
ruoyi-ui/src/views/monitor/cache/index.vue
vendored
4
ruoyi-ui/src/views/monitor/cache/index.vue
vendored
@@ -110,9 +110,6 @@ export default {
|
||||
}
|
||||
]
|
||||
});
|
||||
window.addEventListener("resize",()=>{
|
||||
this.commandstats.resize()
|
||||
});
|
||||
this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons");
|
||||
this.usedmemory.setOption({
|
||||
tooltip: {
|
||||
@@ -137,6 +134,7 @@ export default {
|
||||
]
|
||||
});
|
||||
window.addEventListener("resize",()=>{
|
||||
this.commandstats.resize()
|
||||
this.usedmemory.resize()
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user