diff --git a/components/naive-ui-form/src/ModalForm.vue b/components/naive-ui-form/src/ModalForm.vue index 4d32645..f1215f3 100644 --- a/components/naive-ui-form/src/ModalForm.vue +++ b/components/naive-ui-form/src/ModalForm.vue @@ -39,11 +39,6 @@ const attrs = useAttrs() const props = defineProps() const emit = defineEmits() -const slotSchemas = computed(() => { - if (!Array.isArray(attrs.schemas)) return [] - return attrs.schemas.filter((item) => item.type === 'slot') -}) - const showModal = computed({ get() { return props.show