File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
components/vc-calendar/src Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ function showIf(condition, el) {
2222}
2323
2424const CalendarHeader = {
25+ name : 'CalendarHeader' ,
2526 mixins : [ BaseMixin ] ,
2627 props : {
2728 prefixCls : PropTypes . string ,
@@ -149,7 +150,7 @@ const CalendarHeader = {
149150 panel = (
150151 < MonthPanel
151152 locale = { locale }
152- defaultValue = { value }
153+ value = { value }
153154 rootPrefixCls = { prefixCls }
154155 onSelect = { this . onMonthSelect }
155156 onYearPanelShow = { ( ) => this . showYearPanel ( 'month' ) }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ function goYear(direction) {
1212function noop ( ) { }
1313
1414const MonthPanel = {
15+ name : 'MonthPanel' ,
1516 mixins : [ BaseMixin ] ,
1617 props : {
1718 value : PropTypes . any ,
You can’t perform that action at this time.
0 commit comments