|
@@ -144,7 +144,9 @@ export default {
|
|
}
|
|
}
|
|
this.user = userRes.account;
|
|
this.user = userRes.account;
|
|
this.modalForm = this.$objAssign(this.modalForm, this.user);
|
|
this.modalForm = this.$objAssign(this.modalForm, this.user);
|
|
- this.modalForm.courseId = this.modalForm.courseId.split(",");
|
|
|
|
|
|
+ this.modalForm.courseId = this.user.courseId
|
|
|
|
+ ? this.modalForm.courseId.split(",")
|
|
|
|
+ : [];
|
|
this.getCourseList();
|
|
this.getCourseList();
|
|
},
|
|
},
|
|
async getCourseList() {
|
|
async getCourseList() {
|