Skip to content

Commit 5af2653

Browse files
committed
fix: datepicker log some warning
1 parent c2f5b3f commit 5af2653

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

components/date-picker/wrapPicker.tsx

+11
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@ export default function wrapPicker<P>(
5959
popupStyle: PropTypes.style,
6060
locale: PropTypes.any.def({}),
6161
},
62+
emits: [
63+
'update:value',
64+
'openChange',
65+
'focus',
66+
'blur',
67+
'mouseenter',
68+
'mouseleave',
69+
'change',
70+
'ok',
71+
'calendarChange',
72+
],
6273
setup() {
6374
return {
6475
configProvider: inject('configProvider', defaultConfigProvider),

0 commit comments

Comments
 (0)