<template>
  <div>
    <h1>我是Course页面</h1>
    <!-- <h2>id: {{ $route.query.id }} </h2>
    <h2>name: {{ $route.query.name }}</h2> -->

    <!-- <h2>id: {{ $route.params.id }} </h2>
    <h2>name: {{ $route.params.name }}</h2> -->

    <h2>url传递的id: {{ $route.params.id }}</h2>

    <router-link to="/course/fe">Fe</router-link> |
    <router-link to="/course/rd">Rd</router-link>
    <router-view/>
  </div>
</template>

<script>
export default {

}
</script>

<style>

</style>