Skip to content

[t-slider] 赋值给value的时候,点击事件的value没有变 #3933

@cytcu

Description

@cytcu

tdesign-miniprogram 版本

^1.8.5

重现链接

https://developers.weixin.qq.com/s/ffOQIlm48k3p

重现步骤

No response

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

赋值给value的时候,点击事件的value没有变。例如设置一个定时器模拟接收的数据(一直为0,每5秒刷新一次),初始值也是0,在再次刷新之前点击到2,然后定时器再刷新value为0,此时页面的dot是在0,但是再点击2是无效的,也不会触发change事件,需要先点击到另一个数字后才能点2,也就是说赋值给slider改变value,只是页面的dot变了,但是点击事件的value没变。

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions