111
QYF-GitLab1
2024-12-23 c99f9976a5ef9d8974105feb8fc0580a10adf98c
packageCourse/pages/course/index.js
@@ -34,6 +34,7 @@
    updateCourse: false,
    currentCourse: null,
    submitLoading: false,
    showContentOnly: false,
    // 加载参数
    bottomLoading: false,
    isMoreData: false,
@@ -48,6 +49,18 @@
   */
  onLoad(options) {
    this.getData()
  },
  showDialog() {
    this.setData({
      showContentOnly: true,
    });
  },
  closeDialog() {
    this.setData({
      showContentOnly: false
    });
  },
  // 课程详情
@@ -276,8 +289,8 @@
      app.MG.edu
        .updateCourse({
          courseId: this.data.currentCourse.id,
          name: this.data.currentCourse.name,
          description: this.data.currentCourse.desc
          name: this.data.courseName,
          description: this.data.courseDesc,
        })
        .then((res) => {
          app.MG.edu