Skip to content

Commit 57f2219

Browse files
committed
fix: showWeekNumber don't work
1 parent bcc4f77 commit 57f2219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/calendar/calendar-panel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export default {
254254
getRowClasses={this.getWeekState}
255255
titleFormat={this.titleFormat}
256256
showWeekNumber={
257-
typeof showWeekNumber === 'boolean' ? this.showWeekNumber : this.type === 'week'
257+
typeof this.showWeekNumber === 'boolean' ? this.showWeekNumber : this.type === 'week'
258258
}
259259
onSelect={this.handleSelectDate}
260260
onChangepanel={this.handelPanelChange}

0 commit comments

Comments
 (0)