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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
src/components/Modal/src/components/Modal.tsx
-
src/components/Modal/src/components/ModalHeader.vue
|
|
@ -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(); |
|
|
|
|
|
@ -17,5 +17,6 @@ |
|
|
}, |
|
|
}, |
|
|
title: { type: String }, |
|
|
title: { type: String }, |
|
|
}, |
|
|
}, |
|
|
|
|
|
emits: ['dblclick'], |
|
|
}); |
|
|
}); |
|
|
</script> |
|
|
</script> |
|
|
|