From 67f40bde06c3b1116d733c3d5ef12d0fb64f6ed3 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 10 Dec 2024 18:11:32 +0800 Subject: [PATCH] fix --- src/pages/product/show/index.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/product/show/index.vue b/src/pages/product/show/index.vue index 5bff403..111ee0a 100644 --- a/src/pages/product/show/index.vue +++ b/src/pages/product/show/index.vue @@ -226,9 +226,7 @@ export default { // 获取章节小节 async getChapter () { if (this.isCourse) { - let res = await this.$get(this.api.curriculumChapter, { - courseId: this.form.mall.associatedProduct - }) + let res = await this.$get(this.api.curriculumChapter + '/' + this.form.mall.associatedProduct) this.chapterList = res.chapterList } },