* fix(type): fix ant-design-vue -> * fix: fix editor BasicModal type event check error
@@ -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();
@@ -17,5 +17,6 @@
},
title: { type: String },
+ emits: ['dblclick'],
});
</script>