mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	fix: vxe crud
This commit is contained in:
		@@ -1,5 +1,4 @@
 | 
				
			|||||||
import { reactive } from 'vue'
 | 
					import { reactive } from 'vue'
 | 
				
			||||||
 | 
					 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  FormItemRenderOptions,
 | 
					  FormItemRenderOptions,
 | 
				
			||||||
  VxeColumnPropTypes,
 | 
					  VxeColumnPropTypes,
 | 
				
			||||||
@@ -8,8 +7,8 @@ import {
 | 
				
			|||||||
  VxeTableDefines
 | 
					  VxeTableDefines
 | 
				
			||||||
} from 'vxe-table'
 | 
					} from 'vxe-table'
 | 
				
			||||||
import { eachTree } from 'xe-utils'
 | 
					import { eachTree } from 'xe-utils'
 | 
				
			||||||
import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict'
 | 
					 | 
				
			||||||
import { useI18n } from '@/hooks/web/useI18n'
 | 
					import { useI18n } from '@/hooks/web/useI18n'
 | 
				
			||||||
 | 
					import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict'
 | 
				
			||||||
import { FormSchema } from '@/types/form'
 | 
					import { FormSchema } from '@/types/form'
 | 
				
			||||||
import { VxeTableColumn } from '@/types/table'
 | 
					import { VxeTableColumn } from '@/types/table'
 | 
				
			||||||
import { ComponentOptions } from '@/types/components'
 | 
					import { ComponentOptions } from '@/types/components'
 | 
				
			||||||
@@ -162,7 +161,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => {
 | 
				
			|||||||
    const buttons: VxeFormItemProps = {
 | 
					    const buttons: VxeFormItemProps = {
 | 
				
			||||||
      span: 24,
 | 
					      span: 24,
 | 
				
			||||||
      align: 'center',
 | 
					      align: 'center',
 | 
				
			||||||
      collapseNode: searchSchema.length > 3,
 | 
					      collapseNode: searchSchema.length > 4,
 | 
				
			||||||
      itemRender: {
 | 
					      itemRender: {
 | 
				
			||||||
        name: '$buttons',
 | 
					        name: '$buttons',
 | 
				
			||||||
        children: [
 | 
					        children: [
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user