docs(DatePicker): fix en-docs error (#12620)

This commit is contained in:
Gavin 2024-02-04 22:45:30 +08:00 committed by GitHub
parent 034a3ae31f
commit 989a90a329
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ export default {
option.text += ' Year';
}
if (type === 'month') {
option.text += 'Month';
option.text += 'Month';
}
return option;
};