2.13.0
macos 10.15.3
2.6.11
https://codepen.io/lisiyizu/pen/rNVpZWL?&editable=true
点击预览图片,左右上一张、下一张之后再关闭,然后点击小图片发现和预览大图显示不一致
showcase on gif:

点击小图片发现点击小图片发现预览大图显示一致预览大图显示一致
点击小图片发现和预览大图显示不一致
Translation of this issue:
2.13.0
macos 10.15.3
2.6.11
https://codepen.io/lisiyizu/pen/rNVpZWL?&editable=true
Click the preview picture, and then close the previous and next pictures on the left and right, and then click the small picture to find that it is inconsistent with the preview large picture
showcase on gif:

Click the small picture to find that click the small picture to find that the preview big picture is consistent with the preview big picture
Click the small picture to find that it is inconsistent with the preview of the large picture
这个其实没什么问题,因为每一个el-image会有一个自己的预览组件el-image-viewer,它们的activeIndex是各自独立的,想解决的话需要把el-image-viewer写成一个类似message的全局组件,或者省点事让el-image-viewer每次显示时重置activeIndex
明显的bug,这还不是什么问题?官方能解决肯定是最好。
行吧~,你说是就是