30 lines
477 B
Vue
30 lines
477 B
Vue
|
<template>
|
||
|
<!-- <component :is="activeName"/>-->
|
||
|
<div>
|
||
|
<List v-show="activeName=='List'" ref="list" />
|
||
|
<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>
|