<template>
  <div>
    <List v-show="activeName==='List'" ref="list" />
    <Dashboard v-if="activeName==='Dashboard'" ref="Dashboard"/>
  </div>
</template>
<script>
import List from './components/list.vue'
import Dashboard from '../safetyProductionManagementSystem/components/dashboard.vue'
export default {
  components: { Dashboard, List },
  data() {
    return {
      activeName: 'Dashboard'
    }
  }
}

</script>
