diff --git a/src/calendar/components/Month.js b/src/calendar/components/Month.js index 225f4d4dc..422e93af9 100644 --- a/src/calendar/components/Month.js +++ b/src/calendar/components/Month.js @@ -184,22 +184,24 @@ export default createComponent({ } }; - if (type === 'selected') { - return ( -
-
- {item.text} -
-
- ); - } - const TopInfo = topInfo &&
{topInfo}
; const BottomInfo = bottomInfo && (
{bottomInfo}
); + if (type === 'selected') { + return ( +
+
+ {TopInfo} + {item.text} + {BottomInfo} +
+
+ ); + } + return (