<template>
  <div>
    <accordion mode="accordion" :showIndex="showIndex" :type="type" :accordionList="accordionList"></accordion>
  </div>
</template>
<script>
import Accordion from '../components/accordion'
export default {
  components: {
    Accordion
  },
  data () {
    return {
      type: 'list',
      showIndex: [0],
      accordionList: [
        {
          title: '基础',
          content: [{
            title: 'input',
            path: '/input'
          }]
        },
        {
          title: '啊啊',
          content: '分离打开是伐啦是非法的',
          type: 'string'
        }
      ]
    }
  }
}
</script>