-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[bug report] El image big image preview bug #18429
Comments
Translation of this issue: Element UI version2.13.0 OS/Browsers versionChrome 77.0.3865.120 Vue version2.6.11 Reproduction Linkhttps://codepen.io/HenryZou/pen/OJPbVgB?&editable=true Steps to reproduceClick to display the preview picture. Press the left and right keys to switch to display What is Expected?Click to display the big picture What is actually happening?The large picture cannot be displayed after clicking. Press the left and right keys to switch to display |
i have some problem too |
我也是。。但我的版本是2.12 |
2.12应该不会,2.13版本bug主要出现在大图预览的初始下标,初始下标默认为点击的图片src在preview-src-list中的索引,当原图(缩略图)src不在preview-src-list(清晰图)中时会出现此bug,就如2.13.0的官方示例,目前的解决方式为:不使用缩略图,直接使用清晰图。而2.12的初始下标为0,应该不会出现此bug,请检查一下代码。 |
|
创建一个新的vue项目,引入2.12版本也会出现此bug |
elementUI verion: 2.11.0 问题同上 |
楼上给出解决方案了,只好先用都原图,我之前略缩图做了裁剪,初始下标找不到了。 |
谢谢 |
我一直都用的是原图,还是会有这个问题 |
还有一个bug, 第二次重新打开就不能滚动放大缩小了 |
having the same problem on 2.13.0 |
缩略图和原图一样可以用 |
我碰到了同样的问题,希望官方能够解决下 |
回退到12版就好了, 等他跟新还是算了, 都三个月没更新了 |
Already fixed, please upgrade the latest version |
Element UI version
2.13.0
OS/Browsers version
Chrome 77.0.3865.120
Vue version
2.6.11
Reproduction Link
https://codepen.io/HenryZou/pen/OJPbVgB?&editable=true
Steps to reproduce
点击无法显示预览图片,按左右键切换才会显示
What is Expected?
点击后显示大图
What is actually happening?
点击后无法显示大图,按左右键切换才会显示
The text was updated successfully, but these errors were encountered: