Skip to content

Commit

Permalink
fix: datepicker log some warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Dec 5, 2020
1 parent c2f5b3f commit 5af2653
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions components/date-picker/wrapPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ export default function wrapPicker<P>(
popupStyle: PropTypes.style,
locale: PropTypes.any.def({}),
},
emits: [
'update:value',
'openChange',
'focus',
'blur',
'mouseenter',
'mouseleave',
'change',
'ok',
'calendarChange',
],
setup() {
return {
configProvider: inject('configProvider', defaultConfigProvider),
Expand Down

0 comments on commit 5af2653

Please sign in to comment.