// learn/index.vue … + + :fetchData=”fetchData” +> … +import CourseContentList from ‘@/components/CourseContentList’ … components: { … + CourseContentList }, … methods: { fetchData () { return getPurchaseCourse() } } } …