diff --git a/src/views/course/CourseObjectives.vue b/src/views/course/CourseObjectives.vue index ebc9d28..7ec2965 100644 --- a/src/views/course/CourseObjectives.vue +++ b/src/views/course/CourseObjectives.vue @@ -3,7 +3,7 @@ import { ref, onMounted } from 'vue' import { ElMessage, ElMessageBox } from 'element-plus' import { id } from 'element-plus/es/locales.mjs' import * as echarts from 'echarts' -import { useRoute } from 'vue-router' +// import { useRoute } from 'vue-router' import { getCourseList, addCourse, @@ -12,13 +12,6 @@ import { getCourseInfo, } from '@/api/courseChaptersApi' import { useRoute, useRouter } from 'vue-router' -import { - getCourseList, - addCourse, - editCourse, - deleteCourse, - getCourseInfo, -} from '@/api/courseChaptersApi' const route = useRoute() const router = useRouter() // id : 分目标id