Element UI version
2.15.6
OS/Browsers version
windows/谷歌94.0.4606.81
Vue version
2.6.14
Reproduction Link
https://codepen.io/pen-pen-pen/pen/ZEJpxxz
Steps to reproduce
你们的逻辑是会给点击不能滚动tab的箭头加上is-disabled类名 一开始是对的 但是在后面切换中变成了能滚动的箭头加上了is-disabled类名
What is Expected?
点击不能滚动的箭头加上is-disabled类名
What is actually happening?
初始化的时候是对的 后面变成了能滚动的箭头加上了is-disabled类名
1条答案
按热度按时间yyyllmsg1#
Translation of this issue:
Element UI version
2.15.6
OS/Browsers version
Windows / Google 94.0.4606.81
Vue version
2.6.14
Reproduction Link
https://codepen.io/pen-pen-pen/pen/ZEJpxxz
Steps to reproduce
Your logic is to add the is disabled class name to the arrow that can't scroll tab. At first, it's right, but in the later switching, it becomes the scrollable arrow and the is disabled class name
What is Expected?
Click the non scrollable arrow plus the is disabled class name
What is actually happening?
When initializing, it is correct, followed by a scrollable arrow and the is disabled class name