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) {
22
22
}
23
23
24
24
const CalendarHeader = {
25
+ name : 'CalendarHeader' ,
25
26
mixins : [ BaseMixin ] ,
26
27
props : {
27
28
prefixCls : PropTypes . string ,
@@ -149,7 +150,7 @@ const CalendarHeader = {
149
150
panel = (
150
151
< MonthPanel
151
152
locale = { locale }
152
- defaultValue = { value }
153
+ value = { value }
153
154
rootPrefixCls = { prefixCls }
154
155
onSelect = { this . onMonthSelect }
155
156
onYearPanelShow = { ( ) => this . showYearPanel ( 'month' ) }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ function goYear(direction) {
12
12
function noop ( ) { }
13
13
14
14
const MonthPanel = {
15
+ name : 'MonthPanel' ,
15
16
mixins : [ BaseMixin ] ,
16
17
props : {
17
18
value : PropTypes . any ,
You can’t perform that action at this time.
0 commit comments