Browse Source

fix: remove calendar month extra elements (#3915)

pull/3923/head
StevieYu 4 years ago committed by GitHub
parent
commit
58c543985d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/calendar/Header.tsx

2
components/calendar/Header.tsx

@ -86,7 +86,7 @@ export default defineComponent({
getMonthSelectElement(prefixCls: string, month: number, months: string[]) {
const { fullscreen, validRange, value } = this;
let start = 0;
let end = 12;
let end = 11;
if (validRange) {
const [rangeStart, rangeEnd] = validRange;
const currentYear = value.get('year');

Loading…
Cancel
Save