Skip to content

Commit

Permalink
fix: 修复element图片预览的问题,图片加号错位问题
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed May 29, 2022
1 parent 1c43fa4 commit 4ef13d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,6 @@ export default {
.el-upload--picture-card {
width: 100px;
height: 100px;
i {
margin-top: 36px;
}
}
&.fs-file-uploader-limit {
.el-upload--picture-card {
Expand Down
6 changes: 3 additions & 3 deletions packages/fast-extends/src/uploader/type/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function () {
]
},
column: {
component: { name: "fs-images-format", style: "width:30px" }
component: { name: "fs-images-format", style: "width:30px", previewTeleported: true }
},
viewForm: {
component: { height: 100, width: 100 }
Expand All @@ -43,7 +43,7 @@ export default function () {
},
column: {
align: "center",
component: { name: "fs-images-format", style: "width:30px" }
component: { name: "fs-images-format", style: "width:30px", previewTeleported: true }
},
viewForm: {
component: { height: 100, width: 100 }
Expand Down Expand Up @@ -92,7 +92,7 @@ export default function () {
},
column: {
align: "center",
component: { name: "fs-images-format", style: "width:30px" }
component: { name: "fs-images-format", style: "width:30px", previewTeleported: true }
},
viewForm: {
component: { height: 100, width: 100 }
Expand Down

0 comments on commit 4ef13d6

Please sign in to comment.