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] 如果disableDate的after月份是一月,那默认展示就全部月份禁用,能否判断如果当前月是一月即年份展示前一年 #3031

Closed
huwenpiao opened this issue Jan 11, 2024 · 2 comments

Comments

@huwenpiao
Copy link

tdesign-vue 版本

1.8.4

重现链接

https://codesandbox.io/p/sandbox/tdesign-vue-demo-forked-td2vr8?file=%2Fsrc%2Fdemo.vue%3A2%2C33

重现步骤

如果disableDate的after月份是一月,那默认展示就全部月份禁用,能否判断如果当前月是一月即年份展示前一年

期望结果

当前月是一月份,默认开始年份是前一年

实际结果

目前展示年份都是不可选择

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

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

@uyarn
Copy link
Collaborator

uyarn commented Mar 28, 2024

讨论了一下 暂时无法支持

@uyarn uyarn closed this as completed Mar 28, 2024
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

No branches or pull requests

2 participants