<template>
  <div>
    <el-tag v-if="type === '430课程'">430课程</el-tag>
    <el-tag v-if="type === '公共课程'" type="success">公共课程</el-tag>
  </div>
</template>

<script>
export default {
  name: 'CourseType',
  props: {
    type: {
      type: String,
      required: true,
      default: '430课程'
    }
  }
}
</script>

<style scoped>

</style>
