Skip to content

Commit

Permalink
fix: 修复TimePanel接受属性中selectableRange被props参数覆盖的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SummerOverture committed Jan 22, 2021
1 parent edef8d6 commit 0026ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/components/DatePicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ export default class TimePicker extends BasePicker {
{
(Locales: LocaleProperties["DatePicker"]) => (
<TimePanel
{...this.props}
selectableRange={converSelectRange(this.props)}
ONSELECTRANGECHANGE={this._onSelectionChange}
value={value}
onPicked={this.onPicked}
onCancelPicked={this.onCancelPicked}
Locales={Locales}
{...this.props }
/>
)
}
Expand Down

0 comments on commit 0026ad4

Please sign in to comment.