naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

把upload组件的预览功能单独抽出一个组件。

Open yanbowe opened this issue 4 years ago • 2 comments
trafficstars

This function solves the problem (这个功能解决的问题)

在项目中快捷的使用图片预览功能

Expected API (期望的 API)

组件或者hooks

yanbowe avatar Nov 18 '21 08:11 yanbowe

可能会把 image-preview 给一个组件

07akioni avatar Nov 18 '21 18:11 07akioni

这一点十分重要,现在做的方式就是用 image 组件放一个按钮一样的图片来做到预览按钮。

xpader avatar Jul 13 '22 11:07 xpader

还做嘛,这个功能,本懒狗还挺喜欢的,不想自己写一个了

stand-unshaken avatar Nov 18 '22 07:11 stand-unshaken

什么时候有空可以抽出来一个image-preview

huangyixu avatar Dec 21 '23 10:12 huangyixu

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

jahnli avatar Mar 12 '24 13:03 jahnli

真的很讨厌这种定期关闭 issue 的机器人。

xpader avatar Mar 12 '24 13:03 xpader

真的很讨厌这种定期关闭问题的机器人。

The problem is already swamped, and if you really need it, I think reopening a problem will make more people see it and want to add it

jahnli avatar Mar 12 '24 15:03 jahnli