mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix: 修复表格图片插槽margin不生效问题 (#2400)
This commit is contained in:
parent
4e16438494
commit
0629cc7b14
@ -25,7 +25,7 @@
|
|||||||
<template v-for="(img, index) in imgList" :key="img">
|
<template v-for="(img, index) in imgList" :key="img">
|
||||||
<AImage
|
<AImage
|
||||||
:width="size"
|
:width="size"
|
||||||
:style="{ marginLeft: index === 0 ? 0 : margin }"
|
:style="{ marginLeft: index === 0 ? 0 : margin + 'px' }"
|
||||||
:src="srcPrefix + img"
|
:src="srcPrefix + img"
|
||||||
:fallback="fallback"
|
:fallback="fallback"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user