<template>
  <div class="cache-manager">
    <el-tabs v-model="activeTab">
      <el-tab-pane label="缺失数据检测" name="detect">
        <DetectMissing />
      </el-tab-pane>
      <el-tab-pane label="缓存任务管理" name="tasks">
        <TaskManager />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import DetectMissing from './DetectMissing.vue'
import TaskManager from './TaskManager.vue'

const activeTab = ref('detect')
</script>

<style scoped>
.cache-manager {
  padding: 20px;
}
</style>
