mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	perf: vxe
This commit is contained in:
		| @@ -114,7 +114,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { | |||||||
|   const searchSchema: VxeFormItemProps[] = [] |   const searchSchema: VxeFormItemProps[] = [] | ||||||
|   eachTree(crudSchema.columns, (schemaItem: VxeCrudColumns) => { |   eachTree(crudSchema.columns, (schemaItem: VxeCrudColumns) => { | ||||||
|     // 判断是否显示 |     // 判断是否显示 | ||||||
|     if (schemaItem?.isSearch) { |     if (schemaItem?.isSearch || schemaItem.search?.show) { | ||||||
|       let itemRenderName = schemaItem?.search?.itemRender?.name || '$input' |       let itemRenderName = schemaItem?.search?.itemRender?.name || '$input' | ||||||
|       const options: any[] = [] |       const options: any[] = [] | ||||||
|       let itemRender: FormItemRenderOptions = { |       let itemRender: FormItemRenderOptions = { | ||||||
|   | |||||||
| @@ -65,6 +65,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | |||||||
|       formatter: 'formatDate', |       formatter: 'formatDate', | ||||||
|       isForm: false, |       isForm: false, | ||||||
|       search: { |       search: { | ||||||
|  |         show: true, | ||||||
|         itemRender: { |         itemRender: { | ||||||
|           name: 'XDataTimePicker' |           name: 'XDataTimePicker' | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu