WANG 6 年之前
父節點
當前提交
aa2d41dde7
共有 3 個文件被更改,包括 2 次插入4 次删除
  1. 二進制
      public/img/blank.png
  2. 1 2
      src/modules/examwork/view/examStudent.vue
  3. 1 2
      src/modules/examwork/view/student.vue

二進制
public/img/blank.png


+ 1 - 2
src/modules/examwork/view/examStudent.vue

@@ -1141,11 +1141,10 @@ export default {
         });
         });
     },
     },
     closePhotoDialog() {
     closePhotoDialog() {
-      this.photo.url = "";
+      this.photo.url = "/img/blank.png";
       this.photoDialog = false;
       this.photoDialog = false;
     },
     },
     showPhoto(row) {
     showPhoto(row) {
-      this.photo.url = "";
       let url =
       let url =
         CORE_API +
         CORE_API +
         "/student/getStudentInfo?rootOrgId=" +
         "/student/getStudentInfo?rootOrgId=" +

+ 1 - 2
src/modules/examwork/view/student.vue

@@ -624,11 +624,10 @@ export default {
       this.searchStuExam();
       this.searchStuExam();
     },
     },
     closePhotoDialog() {
     closePhotoDialog() {
-      this.photo.url = "";
+      this.photo.url = "/img/blank.png";
       this.photoDialog = false;
       this.photoDialog = false;
     },
     },
     showPhoto(row) {
     showPhoto(row) {
-      this.photo.url = "";
       if (row.photoPath) {
       if (row.photoPath) {
         this.photo.url = row.photoPath;
         this.photo.url = row.photoPath;
         this.photoDialog = true;
         this.photoDialog = true;