Skip to content

Commit

Permalink
✨ feat: 去除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuicoder committed Nov 6, 2024
1 parent 8725abe commit abe4086
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/naive-ui-form/src/ModalForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ const attrs = useAttrs()
const props = defineProps<Props>()
const emit = defineEmits<Emits>()
const slotSchemas = computed(() => {
if (!Array.isArray(attrs.schemas)) return []
return attrs.schemas.filter((item) => item.type === 'slot')
})
const showModal = computed({
get() {
return props.show
Expand Down

0 comments on commit abe4086

Please sign in to comment.