<template>
  <!--  <component :is="activeName"/>-->
  <div>
    <keep-alive>
      <List v-show="activeName=='List'" ref="list" />
    </keep-alive>
    <Info v-if="activeName=='Info'" />
  </div>
</template>

<script>
import List from './components/list'
import Info from './components/info'
export default {
  components: {
    List: List,
    Info: Info
  },
  data() {
    return {
      activeName: 'List',
      IDENTIFICATIONPARTS_ID: '',
      PARTSNAME: ''
    }
  }
}
</script>

<style scoped>

</style>
