-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
否能增加一个Prop控制Image组件预览开关 #1647
Comments
如果说不想预览的话为啥不用 img 元素? |
预览开关+1,此外我还想要固定长宽比,懒加载等功能 |
说的详细点?最好有个其他组件库的 demo |
https://vuetifyjs.com/zh-Hans/components/images/ |
Image组件应该可以再封装更深一些, 比如, 参考 |
This function solves the problem (这个功能解决的问题)
1、当不想有预览时,目前好像只能使用Avatar或者原生img标签了
2、预览时的图片配置 max-height: 90vh; max-width: 90vw; 是否会更友好一些;当大图片时100vh 100vw太满了
Expected API (期望的 API)
无
The text was updated successfully, but these errors were encountered: