<template>
  <view>
    <Navbar title="我的培训" :showHome="true" />
    <TrainingExam ref="trainingExam" :title="title" :isTraining="true" icon="/static/images/imgs/dsa.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>
