<template>
  <view>
    <Navbar title="我的考试" :showHome="true"/>
    <TrainingExam
      ref="trainingExam"
      :title="title"
      :isTraining="false"
      :showIcon="false"
      icon="/static/images/imgs/dsaa.png"
    />
  </view>
</template>

<script>
import TrainingExam from 'pages/component/TrainingExam'

export default {
  components: { TrainingExam },
  data() {
    return {
      title: ['待考', '考试记录']
    }
  },
  onShow() {
    this.$nextTick(() => {
      this.$refs.trainingExam.getList()
    })
  }
}
</script>

<style lang="scss"></style>
