Skip to content

Commit

Permalink
fix: showWeekNumber don't work
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxiong10 committed Nov 23, 2020
1 parent bcc4f77 commit 57f2219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calendar/calendar-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export default {
getRowClasses={this.getWeekState}
titleFormat={this.titleFormat}
showWeekNumber={
typeof showWeekNumber === 'boolean' ? this.showWeekNumber : this.type === 'week'
typeof this.showWeekNumber === 'boolean' ? this.showWeekNumber : this.type === 'week'
}
onSelect={this.handleSelectDate}
onChangepanel={this.handelPanelChange}
Expand Down

0 comments on commit 57f2219

Please sign in to comment.