dev_202412
yujialong 3 months ago
parent f6bcb729c2
commit 09b0734d2f
  1. 1917
      src/pages/setting/person/info.vue
  2. 4
      src/pages/station/preview/index.vue
  3. 4
      src/pages/station/product/index.vue

File diff suppressed because it is too large Load Diff

@ -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);

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

Loading…
Cancel
Save