Skip to content

The a-image custom preview image function (by specifying preview.src) takes effect when used alone, but it does not take effect when used in a-image-preview-group #6331

@zhangkx666

Description

@zhangkx666
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.3.0-beta.4

Environment

vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<a-image-preview-group>
  <a-image v-for="image in imageList" :key="image.id" :src="`${image.url}!p100`" :preview="{ src: `${image.url}?full` }" />
</a-image-preview-group>

What is expected?

相册模式缩略图只是加载一个100px的小图,然后点开预览的时候显示原图大图,通过指定 :preview="{ src: ${image.url}?full }"

What is actually happening?

a-image 自定义预览图片功能(通过指定preview.src)单独使用生效,但在a-image-preview-group中使用时不生效


#6143 这个issue提过这个bug,但被无视了,烦请修复下呢,万分感谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions