Skip to content

Commit 93ec3d6

Browse files
fix(calendar): 修复了年份选项错误地使用了月份选项禁用范围判定逻辑的问题
Co-Authored-By: 刘宇轩 (刘lyxAndy) <[email protected]>
1 parent e828309 commit 93ec3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/calendar/Calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const Calendar = forwardRef<CalendarMethods, CalendarProps>((props, ref) => {
221221
for (let i = yearBegin; i <= yearEnd; i++) {
222222
yearList.push({
223223
value: i,
224-
disabled: checkMonthSelectorDisabled(i, month),
224+
disabled: false,
225225
});
226226
}
227227
// 月列表

0 commit comments

Comments
 (0)