Add start-date prop to force placing of date picker in date
This commit is contained in:
parent
4c6836512e
commit
63bd0f7d3f
4 changed files with 12 additions and 3 deletions
|
@ -97,7 +97,7 @@
|
|||
datePrefixCls: datePrefixCls,
|
||||
currentView: this.selectionMode || 'date',
|
||||
dates: dates,
|
||||
panelDate: dates[0] || new Date()
|
||||
panelDate: this.startDate || dates[0] || new Date()
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue