RuoYi
2021-09-23 258335cc6599dacd6130e1da988a403efe67219d
ruoyi-ui/src/views/monitor/cache/index.vue
@@ -74,8 +74,6 @@
  name: "Server",
  data() {
    return {
      // 加载层信息
      loading: [],
      // 统计命令信息
      commandstats: null,
      // 使用内存
@@ -93,7 +91,7 @@
    getList() {
      getCache().then((response) => {
        this.cache = response.data;
        this.loading.close();
        this.$modal.closeLoading();
        this.commandstats = echarts.init(this.$refs.commandstats, "macarons");
        this.commandstats.setOption({
@@ -141,12 +139,7 @@
    },
    // 打开加载层
    openLoading() {
      this.loading = this.$loading({
        lock: true,
        text: "拼命读取中",
        spinner: "el-icon-loading",
        background: "rgba(0, 0, 0, 0.7)",
      });
      this.$modal.loading("正在加载缓存监控数据,请稍后!");
    },
  },
};