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

[DatePicker] 年份选择器的下拉展示的年份范围和已选中的年份不匹配 #1941

Closed
LoopZhou opened this issue Dec 16, 2022 · 3 comments · Fixed by #1963
Closed
Assignees
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@LoopZhou
Copy link
Collaborator

tdesign-vue 版本

0.52.2

重现链接

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

重现步骤

官网示例即可复现, 选中2029年,下拉展示的年份范围是2030-2039

image

期望结果

选中2029时,下拉展示年份范围应该是2020-2029

实际结果

目前,选中2020,2021,2022时正常,下拉展示的年份是2020-2029。选中2023至2029,下拉展示的年份变成了2030-2039.

框架版本

Vue(2.6.0)

浏览器版本

Chrome(99.0.4844.51)

系统版本

MacOS(10.15.7)

Node版本

12.22.0

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

♥️ 有劳 @zhwachen @xiaosansiji @HQ-Lin 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @LoopZhou

@uyarn uyarn assigned honkinglin and unassigned xiaosansiji Dec 16, 2022
@uyarn uyarn added the 🐞 bug Something isn't working label Dec 22, 2022
@honkinglin honkinglin linked a pull request Dec 26, 2022 that will close this issue
16 tasks
@uyarn uyarn added the to be published fixed, not be published label Dec 26, 2022
@uyarn uyarn reopened this Dec 26, 2022
@uyarn
Copy link
Collaborator

uyarn commented Dec 29, 2022

fixed 1.0.2

@uyarn uyarn closed this as completed Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants