1.tagsView.ts删除页面缓存优化 2.新增Search组件插槽传递
This commit is contained in:
1 parent
401794f1bf
commit
5718c78811
2 files changed
+5
-2
No files matched your search
@@ -9,6 +9,8 @@ import { FormSchema } from '@/types/form'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
const slots = useSlots()
|
||||
|
||||
const props = defineProps({
|
||||
// 生成Form的布局结构数组
|
||||
schema: {
|
||||
@@ -123,6 +125,7 @@ const setVisible = () => {
|
||||
</ElButton>
|
||||
</div>
|
||||
</template>
|
||||
<template v-for="(slot, name) in slots" #[name]><slot :name="name"></slot></template>
|
||||
</Form>
|
||||
|
||||
<template v-if="layout === 'bottom'">
|
||||
|
||||
Reference in new issue
Block a user