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

[calendar]year-month模式下actionButtons在初始化过程中未更新,导致min、max-date不生效 #3359

Closed
runyuweng opened this issue Dec 14, 2024 · 5 comments · Fixed by #3366
Labels
bug Something isn't working

Comments

@runyuweng
Copy link

tdesign-miniprogram 版本

1.8.2

重现链接

设置min、max-date的同时使用year-month模式

重现步骤

设置min、max-date的同时使用year-month模式

期望结果

年、月翻页根据设置日期大小生肖禁用

实际结果

月分可以向后翻页,翻页页面异常

基础库版本

No response

补充说明

No response

Copy link
Contributor

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

@runyuweng
Copy link
Author

@anlyyao 辛苦看一下,近期新增的功能

@anlyyao
Copy link
Collaborator

anlyyao commented Dec 16, 2024

@anlyyao 辛苦看一下,近期新增的功能

这里是 min + max + switch-mode 属性的代码片段,在开发者工具和13pro真机上测试符合预期,https://developers.weixin.qq.com/s/zADPmtms7yWv

你先在你15pro真机上测试一下是否符合预期,如果不符合,可以在此代码片段上补充你的实际示例,我这边会继续跟进 、

@anlyyao anlyyao added the question This is a question, not a bug label Dec 16, 2024
@anlyyao
Copy link
Collaborator

anlyyao commented Dec 17, 2024

@runyuweng 明白了 我修复一下,maxdata确实有点问题,少了一个月,预计下周发版可带。 mindata 是正确的, 你可以看下代码片段链接~

@anlyyao anlyyao added bug Something isn't working and removed question This is a question, not a bug labels Dec 17, 2024
@runyuweng
Copy link
Author

好的感谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants