|
@@ -53,7 +53,7 @@ export default {
|
|
"/api/ecs_core/student/getStudentInfoBySession"
|
|
"/api/ecs_core/student/getStudentInfoBySession"
|
|
);
|
|
);
|
|
this.userPhoto = res.data.photoPath;
|
|
this.userPhoto = res.data.photoPath;
|
|
- if (!this.userPhoto) {
|
|
|
|
|
|
+ if (this.course && this.course.faceEnable && !this.userPhoto) {
|
|
this.$Message.error("没有底照");
|
|
this.$Message.error("没有底照");
|
|
return;
|
|
return;
|
|
}
|
|
}
|