<template>
  <div>
    <exam-topic :requestParam="$route.query" @goExamResult="goExamResult"></exam-topic>
  </div>
</template>

<script>
export default {
  mounted() {
  },
  methods: {
    goExamResult(e) {
      this.$router.replace({
        path: '/exam/result',
        query: e
      })
    }
  },
  metaInfo () {
    return {
      title: '答题',
      meta: [
        // { vmid: 'description', name: 'description', content: this.description }
      ]
    }
  },
  beforeDestroy() {
    // this.$router.back()
    window.localStorage.isBack = true
  }
}
</script>
<style lang="scss" scoped>
</style>
