fix: 修复表格图片插槽margin不生效问题 (#2400)

This commit is contained in:
前端爱码士 2022-11-22 10:56:24 +08:00 committed by GitHub
parent 4e16438494
commit 0629cc7b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@
<template v-for="(img, index) in imgList" :key="img">
<AImage
:width="size"
:style="{ marginLeft: index === 0 ? 0 : margin }"
:style="{ marginLeft: index === 0 ? 0 : margin + 'px' }"
:src="srcPrefix + img"
:fallback="fallback"
/>