WANG 6 سال پیش
والد
کامیت
aa2d41dde7
3فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. BIN
      public/img/blank.png
  2. 1 2
      src/modules/examwork/view/examStudent.vue
  3. 1 2
      src/modules/examwork/view/student.vue

BIN
public/img/blank.png


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

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

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

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