fix: search warn

pull/15/head^2
xingyuv 2023-03-07 10:29:27 +08:00
parent 50478da759
commit cab8c9ad15
1 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,6 @@ import { FormSchema } from '@/types/form'
const { t } = useI18n()
const slots = useSlots()
const props = defineProps({
// Form
schema: {
@ -125,7 +123,9 @@ const setVisible = () => {
</ElButton>
</div>
</template>
<template v-for="(slot, name) in slots" #[name]><slot :name="name"></slot></template>
<template #[name] v-for="name in Object.keys($slots)" :key="name"
><slot :name="name"></slot
></template>
</Form>
<template v-if="layout === 'bottom'">