mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 20:28:45 +08:00 
			
		
		
		
	fix: search warn
This commit is contained in:
		@@ -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'">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user