mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-02-02 18:08:40 +08:00
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:
parent
246c5f795b
commit
bfdbccfece
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user