element icon indicating copy to clipboard operation
element copied to clipboard

[bug report] when the value of slider is set, the 'input' event will be triggered

Open MrWindlike opened this issue 4 years ago • 2 comments

Element UI version

2.15.6

OS/Browsers version

Microsoft Edge 版本 94.0.992.31 (官方内部版本) (64 位)

Vue version

2.6.14

Reproduction Link

https://codepen.io/windlike/pen/LYLapJq

Steps to reproduce

  1. 点击重置按钮

What is Expected?

设置值时不会触发input事件,手动拖动Slider时才触发

What is actually happening?

设置值时会触发input事件

MrWindlike avatar Sep 30 '21 06:09 MrWindlike

Translation of this issue:

Element UI version

2.15.6

OS/Browsers version

Microsoft edge version 94.0.992.31 (official build) (64 bit)

Vue version

2.6.14

Reproduction Link

https://codepen.io/windlike/pen/LYLapJq

Steps to reproduce

  1. Click the reset button

What is Expected?

The 'input' event will not be triggered when setting the value, but only when manually dragging the slider

What is actually happening?

The 'input' event will be triggered when the value is set

element-bot avatar Sep 30 '21 06:09 element-bot

这个bug 解决了吗

lihuangshuaige avatar Sep 10 '22 07:09 lihuangshuaige