123456789101112131415161718192021222324252627282930313233 |
- <template>
- <section>
- <ul>
- <li
- v-for="item in toc"
- :key="item.uuid"
- >
- <TocItem :item="item" :level="1" :editionid="$route.params.id" />
- </li>
- </ul>
- </section>
- </template>
- <script>
- import TocItem from './TocItem'
- export default {
- name: 'EdToc',
- components: {
- TocItem
- },
- props: {
- toc: Array
- },
- data: () => ({
- })
- }
- </script>
- <style lang="scss" scoped>
- </style>
|