iview [Bug Report] dynamically modifies the slider max value, the color bar changes, the position is immovable

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

Environment

Windows10, chrome 63, Vue2.5

https://jsfiddle.net/Michael_Wu/o4bh7xsm/

Steps to reproduce

1, 点击select选择两个选项, 生成两个slider, 默认max为100;
2,移动滑快1, 滑块2的最大值为100减去滑块1的;
3, 移动滑块2, 滑块1的最大值也会发生变化

What is expected?

在第三步,滑块1的颜色条增加,position和颜色条一致变动。

What is actually happening?

颜色条增加,postion没有变动

yvt65v4c

yvt65v4c1#

Translation of this issue:

Environment

Windows10, chrome 63, Vue2.5

https://jsfiddle.net/Michael_Wu/o4bh7xsm/

Steps to reproduce

1, click Select to select two options, generate two slider, and the default Max is 100;
2, the movement slips fast by 1, the maximum value of the slider 2 is 100 minus the slider 1.
3, the maximum value of the slide block 1 is also changed by the moving block 2.

What is expected?

In the third step, the color strip of the slider 1 increases, and the position and the color bar change uniformly.

What is actually happening?

The color bar increases, postion does not change

相关问题