<template>
  <div>
    <head-bar @back="back">
      <template #title>
        <div>
          课程名字
        </div>
      </template>
    </head-bar>
  </div>
</template>

<script>
import headBar from '@/components/headBar.vue'
export default {
  components: {
    headBar
  },
  data() {
    return {}
  },
  methods: {
    back() {
      this.$router.push({ path: '/home' })
    }
  }
}
</script>

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