Commit b1a2dfb09b9f4acf3aadf67a466dfba77e26c92f
1 parent
11770292
fix: vxe crud
Showing
1 changed file
with
2 additions
and
3 deletions
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
| 1 | 1 | import { reactive } from 'vue' |
| 2 | - | |
| 3 | 2 | import { |
| 4 | 3 | FormItemRenderOptions, |
| 5 | 4 | VxeColumnPropTypes, |
| ... | ... | @@ -8,8 +7,8 @@ import { |
| 8 | 7 | VxeTableDefines |
| 9 | 8 | } from 'vxe-table' |
| 10 | 9 | import { eachTree } from 'xe-utils' |
| 11 | -import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict' | |
| 12 | 10 | import { useI18n } from '@/hooks/web/useI18n' |
| 11 | +import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict' | |
| 13 | 12 | import { FormSchema } from '@/types/form' |
| 14 | 13 | import { VxeTableColumn } from '@/types/table' |
| 15 | 14 | import { ComponentOptions } from '@/types/components' |
| ... | ... | @@ -162,7 +161,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { |
| 162 | 161 | const buttons: VxeFormItemProps = { |
| 163 | 162 | span: 24, |
| 164 | 163 | align: 'center', |
| 165 | - collapseNode: searchSchema.length > 3, | |
| 164 | + collapseNode: searchSchema.length > 4, | |
| 166 | 165 | itemRender: { |
| 167 | 166 | name: '$buttons', |
| 168 | 167 | children: [ | ... | ... |