Merge remote-tracking branch 'yudao/master'

This commit is contained in:
puhui999 2023-03-07 10:34:21 +08:00
commit 585a667352

View File

@ -9,8 +9,6 @@ import { FormSchema } from '@/types/form'
const { t } = useI18n() const { t } = useI18n()
const slots = useSlots()
const props = defineProps({ const props = defineProps({
// Form // Form
schema: { schema: {
@ -125,7 +123,9 @@ const setVisible = () => {
</ElButton> </ElButton>
</div> </div>
</template> </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> </Form>
<template v-if="layout === 'bottom'"> <template v-if="layout === 'bottom'">