소스 검색

画板上传的图片在框里显示全

natasha 3 주 전
부모
커밋
89f4f84270
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/book/courseware/create/components/question/drawing/Drawing.vue

+ 1 - 1
src/views/book/courseware/create/components/question/drawing/Drawing.vue

@@ -329,7 +329,7 @@ export default {
       / 2px auto 2px;
 
     img {
-      object-fit: cover;
+      object-fit: contain;
     }
 
     .horizontal-line,