<script>
import ResPerview from './ResPerview.vue'
import ResQuantity from './ResQuantity.vue'
import ResSize from './ResSize.vue'
import ResTypeList from './ResTypeList.vue'
import ResFileData from './ResFileData.vue'
import ResDetailsTable from './ResDetailsTable.vue'

export default {
  data: () => ({ activeType: '' }),
  render (h) {
    return h('div', [[ResSize, ResQuantity, ResPerview], [ResTypeList, ResFileData, ResDetailsTable]][this.$store.statistic_tab_active].map(h))
  }
}
</script>
