Skip to content

fix(calendar): 修复日历在HBuilderX 5.0.0 以上版本,无法选中日期问题#1133

Open
ixiaoq wants to merge 1 commit intoumicro:masterfrom
ixiaoq:fix/calendar-invalid-date
Open

fix(calendar): 修复日历在HBuilderX 5.0.0 以上版本,无法选中日期问题#1133
ixiaoq wants to merge 1 commit intoumicro:masterfrom
ixiaoq:fix/calendar-invalid-date

Conversation

@ixiaoq
Copy link
Copy Markdown

@ixiaoq ixiaoq commented Mar 25, 2026

问题描述:在最新HBuilderX 5.0.0以上版本,日期无法选中问题

原因分析:new Date(date) ,传入month组件时,months 数据内的 date丢失

解决方案:取消 new Date, 直接使用 date

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 this pull request may close these issues.

1 participant