锦水项目前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
494 B

<template>
<keep-alive include="TopicList">
<component :is="selectComponent"></component>
</keep-alive>
</template>
<script>
import TopicList from './partytopic-list'
import TopicDetail from './partytopic-detail'
export default {
data () {
return {
selectComponent: TopicList
}
},
components: {
TopicList,
TopicDetail
},
methods: {
init () {
this.selectComponent = TopicList
}
}
}
</script>
<style lang="scss" scoped>
</style>