WANG 6 年之前
父节点
当前提交
05d785e088
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. 7 4
      src/modules/examwork/view/student.vue

+ 7 - 4
src/modules/examwork/view/student.vue

@@ -384,10 +384,13 @@
             </el-form>
             </el-form>
           </el-dialog>
           </el-dialog>
 
 
-          <el-dialog title="照片" :visible.sync="photoDialog">
-            <div class="student_photo">
-              <img :src="photo.url" alt="学生照片" height="20%" width="30%" />
-            </div>
+          <el-dialog
+            title="照片"
+            :visible.sync="photoDialog"
+            width="300px"
+            center="true"
+          >
+            <img :src="photo.url" alt="学生照片" height="100%" width="100%" />
           </el-dialog>
           </el-dialog>
         </div>
         </div>
       </div>
       </div>