<template>
  <el-row :gutter="12">
    <el-col :span="24">
      <el-tabs v-model="activeKey">
        <el-tab-pane label="流量趋势" name="1"> <FluxTrend  v-if="activeKey ==1"/></el-tab-pane>
        <el-tab-pane label="访问量" name="2" > <VisitAmount  v-if="activeKey ==2"/></el-tab-pane>
      </el-tabs>
    </el-col>
  </el-row>
</template>
<script lang="ts" setup>
  import { ref } from 'vue';
  import FluxTrend from './FluxTrend.vue';
  import VisitAmount from './VisitAmount.vue';
  const activeKey = ref('1');
</script>
