RuoYi
2025-04-01 42c1ea3c89c3bc335c19eb33f9a9b352e2807d15
src/views/monitor/cache/index.vue
@@ -1,6 +1,6 @@
<template>
  <div class="app-container">
    <el-row>
    <el-row :gutter="10">
      <el-col :span="24" class="card-box">
        <el-card>
          <template #header><Monitor style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">基本信息</span></template>
@@ -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();
    });
  })
}