From 1ec5bbb66f8c13896616b89dfaf5a859b055a887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=80=E8=AF=BA?= Date: Thu, 12 Nov 2015 23:51:38 +0800 Subject: [PATCH] fix details --- components/calendar/Header.jsx | 8 ++++---- components/calendar/demo/basic.md | 9 +++++++-- components/calendar/index.jsx | 10 ++++++++-- components/calendar/index.md | 2 ++ style/components/calendar/index.less | 22 ++++++++++------------ 5 files changed, 31 insertions(+), 20 deletions(-) diff --git a/components/calendar/Header.jsx b/components/calendar/Header.jsx index 387b6392be..0136890ac6 100644 --- a/components/calendar/Header.jsx +++ b/components/calendar/Header.jsx @@ -7,7 +7,7 @@ function noop() {} class Header extends Component { getYearSelectElement(year) { - const {yearSelectOffset, yearSelectTotal, locale, prefixCls} = this.props; + const {yearSelectOffset, yearSelectTotal, locale, prefixCls, fullscreen} = this.props; const start = year - yearSelectOffset; const end = start + yearSelectTotal; const suffix = locale.year === '年' ? '年' : ''; @@ -18,7 +18,7 @@ class Header extends Component { } return (