Browse Source

fix: Dev/fix modal event (#1241)

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

* fix: fix editor BasicModal type event check error
pull/1252/head
CXM 5 years ago
committed by GitHub
parent
commit
bfdbccfece
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/components/Modal/src/components/Modal.tsx
  2. 1
      src/components/Modal/src/components/ModalHeader.vue

1
src/components/Modal/src/components/Modal.tsx

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

1
src/components/Modal/src/components/ModalHeader.vue

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

Loading…
Cancel
Save