Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[t-date-range-picker-panel] 时间范围面板change事件获取不到准确时间点 #1419

Closed
lavender-juan opened this issue Aug 30, 2022 · 5 comments · Fixed by #1420
Closed

Comments

@lavender-juan
Copy link

tdesign-vue 版本

0.46.1

重现链接

https://codesandbox.io/s/tdesign-vue-demo-forked-m5ubr9

重现步骤

No response

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @lavender-juan,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@honkinglin
Copy link
Collaborator

这里说的准确时间点具体是指什么?
onChange 返回的数据格式与 valueType 相关联,不开启时间选择默认不返回时间信息,如果又不想选择时间又要返回带有时间格式的要更改 valueType 格式

@lavender-juan
Copy link
Author

这个时间范围面板 我只改开始时间 change不会发生变化

@honkinglin
Copy link
Collaborator

区间选择器必须是选择两次才是完整的区间,只更改一次不会触发onChange,但是每次选择都会出发onPick事件

@honkinglin honkinglin linked a pull request Aug 30, 2022 that will close this issue
16 tasks
@honkinglin
Copy link
Collaborator

panel 的话可以用 cell-click 事件监听每次点击的值去更改受控 value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants