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 } },