From 09b0734d2f41f816bb99ca602e538c9445e69708 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 26 Nov 2024 15:01:31 +0800 Subject: [PATCH] fix --- src/pages/setting/person/info.vue | 1919 ++++++++++++++------------- src/pages/station/preview/index.vue | 4 +- src/pages/station/product/index.vue | 4 +- 3 files changed, 991 insertions(+), 936 deletions(-) diff --git a/src/pages/setting/person/info.vue b/src/pages/setting/person/info.vue index a374295..3f3c684 100644 --- a/src/pages/setting/person/info.vue +++ b/src/pages/setting/person/info.vue @@ -1,977 +1,1028 @@ \ No newline at end of file diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index f954a20..6b5f9ec 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -487,7 +487,9 @@ export default { // 获取章节小节 async getChapter () { if (this.courseId) { - let res = await this.$get(`${this.api.curriculumChapter}/${this.courseId}`); + let res = await this.$get(this.api.curriculumChapter, { + courseId: this.courseId + }) this.chapterList = res.chapterList; if (this.chapterList.length && this.chapterList[0].subsectionList && this.chapterList[0].subsectionList.length && !this.commentId) { this.preview(this.chapterList[0].subsectionList[0], this.chapterList[0].name, 1); diff --git a/src/pages/station/product/index.vue b/src/pages/station/product/index.vue index c61a971..4520c1c 100644 --- a/src/pages/station/product/index.vue +++ b/src/pages/station/product/index.vue @@ -232,7 +232,9 @@ export default { // 获取章节小节 async getChapter () { if (this.isCourse) { - let res = await this.$get(this.api.curriculumChapter + '/' + this.form.mall.associatedProduct) + let res = await this.$get(this.api.curriculumChapter, { + courseId: this.form.mall.associatedProduct + }) this.chapterList = res.chapterList } },