<template>
  <div>
    页签2
    <StatisticsCharts v-show="type === 'charts'" />
    <StatisticsTable v-show="type === 'table'" />
  </div>
</template>
<script>
import StatisticsCharts from './charts';
import StatisticsTable from './table';

export default {
  components: {
    StatisticsCharts,
    StatisticsTable,
  },

  props: {
    type: {
      type: String,
      default: 'charts',
    },
  },
};
</script>