fix: Dev/fix modal event (#1241)

* fix(type): fix ant-design-vue  ->

* fix: fix editor BasicModal type event check error
This commit is contained in:
CXM 2021-09-28 00:21:16 +08:00 committed by GitHub
parent 246c5f795b
commit bfdbccfece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ export default defineComponent({
name: 'Modal',
inheritAttrs: false,
props: basicProps,
emits: ['cancel'],
setup(props, { slots }) {
const { visible, draggable, destroyOnClose } = toRefs(props);
const attrs = useAttrs();

View File

@ -17,5 +17,6 @@
},
title: { type: String },
},
emits: ['dblclick'],
});
</script>