diff --git a/.env.development b/.env.development index 685ac44..f623fa7 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '无糖运营平台' -# VITE_APP_BASE_API = 'http://127.0.0.1:8080' -VITE_APP_BASE_API = 'http://39.106.16.162:8080' +VITE_APP_BASE_API = 'http://127.0.0.1:8080' +# VITE_APP_BASE_API = 'http://39.106.16.162:8080' http://localhost:5173/#/courseResourcesManagement/courseResources \ No newline at end of file diff --git a/src/api/user/stud.js b/src/api/user/stud.js index 651a3f5..e6cfde2 100644 --- a/src/api/user/stud.js +++ b/src/api/user/stud.js @@ -1,7 +1,7 @@ import request from '@/utils/request' //分页查询 export const stuPageService = (params) => { - // console.log(params, 'params11') + console.log(params, 'paramsshaibei') return request.get( `/api/studentManage/page?name=${params.name}&number=${params.number}&page=${params.page}&pageSize=${params.pagesize}&userId=${params.id}`, ) diff --git a/src/views/course/components/course-chapters.vue b/src/views/course/components/course-chapters.vue index 78fb2b0..e7dbbcc 100644 --- a/src/views/course/components/course-chapters.vue +++ b/src/views/course/components/course-chapters.vue @@ -106,7 +106,7 @@ const remove = async (node: Node, data: Tree) => { }) } // 获取章节详情 -const getDetails = (id: any) => { } +const getDetails = (id: any) => {} const dataSource = ref([ { id, @@ -134,18 +134,36 @@ const dataSource = ref([

课程章节

- +