fix: datepicker log some warning

pull/3321/head
tangjinzhou 2020-12-06 00:27:04 +08:00
parent c2f5b3fa9f
commit 5af2653e5a
1 changed files with 11 additions and 0 deletions

View File

@ -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),