Przeglądaj źródła

修复藏品总账查看页面图片比例问题

shaogen1995 4 lat temu
rodzic
commit
f09ab7da64

+ 1 - 0
src/views/collect/collect0_look.vue

@@ -372,6 +372,7 @@ body .el-table::before {
       display: flex;
       align-items: center;
       img {
+        object-fit: contain;
         width: 100%;
         height: 340px;
         border: 15px solid #ccc;

+ 1 - 0
src/views/holding/holding3_look.vue

@@ -452,6 +452,7 @@ body .el-table::before {
       display: flex;
       align-items: center;
       img {
+        object-fit: contain;
         width: 100%;
         height: 340px;
         border: 15px solid #ccc;