Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image组件在预览时,是否可以使用另外的预览地址。 #5541

Closed
1 task
geeklibin opened this issue Apr 23, 2022 · 2 comments
Closed
1 task

Comments

@geeklibin
Copy link

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

What problem does this feature solve?

我在一个图片列表中使用了image组件,默认加载thumb缩略图,但是我希望点击预览后,去加载大尺寸的图片,是否有解决方案。

What does the proposed API look like?

const pictureList = ref([
    {
        id:'xxx',
        thumb:'xxx/xxx_100x100.png',
        url:'xxx/xxx.png'
    },
    {
        id:'xxx',
        thumb:'xxx/xxx_100x100.png',
        url:'xxx/xxx.png'
    }
])

默认加载thumb的图片,点击预览后加载url

@github-actions github-actions bot changed the title Image组件在预览时,是否可以使用另外的预览地址。 Whether the Image component can use another preview address when previewing. Apr 23, 2022
@geeklibin geeklibin changed the title Whether the Image component can use another preview address when previewing. Image组件在预览时,是否可以使用另外的预览地址。 Apr 23, 2022
@github-actions
Copy link

Hello @geeklibin, we use GitHub issues to trace bugs or discuss plans of Ant Design Vue. So, please don't ask usage questions here. You can try to open a new discussion in antdv discussions, select Q&A to ask questions, also can ask questions on Stack Overflow or Segment Fault.

你好 @geeklibin,Ant Design Vue Issue 板块是用于 bug 反馈与需求讨论的地方。请勿询问如何使用的问题,你可以试着在 antdv discussions 新开一个 discussion,选择 Q&A 类别进行提问,也可以在 Stack Overflow 或者 Segment Fault 中提问。

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants