mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
fix test case
This commit is contained in:
parent
d7e81027d6
commit
6e69bcc9ca
@ -316,7 +316,7 @@ describe('Calendar', () => {
|
||||
|
||||
for (let index = start; index < end; index += 1) {
|
||||
monthOptions.push(
|
||||
<Select.Option className="month-item" key={`${index}`}>
|
||||
<Select.Option className="month-item" key={`${index}`} value={index}>
|
||||
{months[index]}
|
||||
</Select.Option>,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user