element [bug report] when walking two pictures of the lantern, the pictures have to be switched in the wrong order

x0fgdtte  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(89)

Element UI version

2.14.1

OS/Browsers version

操作系统:window10,浏览器版本:谷歌 87.0.4280.66(正式版本) (64 位)

Vue version

2.6.12

https://codepen.io/pen/

Steps to reproduce

无需重现,官网在线运行就有此问题。走马灯组件使用默认配置。走马灯图片总数量为2得时候,图片1自动切换到图片2的顺序是从前往后自动轮播,当图片2自动切换到图片1时的顺序是从后往前自动轮播,当图片数量变大于2的时候 ,该问题则不存在

What is Expected?

不论图片数量是不是2 图片自动轮播得顺序应该都是从前往后

What is actually happening?

走马灯图片总数量为2得时候,图片1自动切换到图片2的顺序是从前往后自动轮播,当图片2自动切换到图片1时的顺序是从后往前自动轮播,当图片数量变大于2的时候 ,该问题则不存在

avkwfej4

avkwfej41#

Translation of this issue:

Element UI version

2.14.1

OS/Browsers version

Operating system: Windows 10, browser version: Google 87.0.4280.66 (official version) (64 bit)

Vue version

2.6.12

https://codepen.io/pen/

Steps to reproduce

No need to reproduce, the official website online operation has this problem. The lantern component uses the default configuration. When the total number of pictures of walking lantern is 2, the order of automatic switching from picture 1 to picture 2 is from front to back automatically. When the number of pictures from picture 2 to picture 1 is automatically rotated from back to front, the problem does not exist when the number of pictures becomes greater than 2

What is Expected?

No matter whether the number of pictures is 2 or not, the order of automatic rotation of pictures should be from front to back

What is actually happening?

When the total number of Lantern pictures is 2, the sequence of picture 1 automatically switching to picture 2 is automatic rotation from front to back. When picture 2 automatically switching to picture 1, the sequence is automatic rotation from back to front. When the number of pictures becomes greater than 2, this problem does not exist

owfi6suc

owfi6suc2#

走马灯组件的图片数量为两张时,播放顺序与图片数量为三张的时候不一样

相关问题