lsc 2 年之前
父节点
当前提交
d489f58ba4
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/pages/student/addCourse.vue

+ 3 - 1
src/components/pages/student/addCourse.vue

@@ -4569,7 +4569,9 @@ export default {
                     this.cid = res.data.courseId;
                     this.courseUserid = this.userid;
                     this.islogin = true;
-                    this.selectCourseDetail();
+                    setTimeout(() => {
+                        this.selectCourseDetail();
+                    }, 1000);
                 })
                 .catch((err) => {
                     this.$message.error("网络不佳");