Skip to content

Commit

Permalink
fix: 修复选中日期不展示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyang03 committed Dec 12, 2023
1 parent 190b44d commit efc9392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/amis-ui/src/components/calendar/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ class BaseDatePicker extends React.Component<
if (!this.props.value) {
this.setState({
selectedDate: date,
viewDate: date,
inputValue: date!.format(this.state.displayForamt as string)
});
}
Expand Down

0 comments on commit efc9392

Please sign in to comment.