修复多语言问题

This commit is contained in:
liaoxuezhi 2020-06-08 11:35:50 +08:00
parent 2a2c9b57ed
commit 6526294d88

View File

@ -526,6 +526,7 @@ export class DateRangePicker extends React.Component<
ranges,
disabled,
iconClassName,
locale,
overlayPlacement
} = this.props;
@ -616,6 +617,7 @@ export class DateRangePicker extends React.Component<
input={false}
onClose={this.close}
renderDay={this.renderDay}
locale={locale}
/>
<Calendar
@ -632,6 +634,7 @@ export class DateRangePicker extends React.Component<
input={false}
onClose={this.close}
renderDay={this.renderDay}
locale={locale}
/>
<div key="button" className={`${ns}DateRangePicker-actions`}>