Commit 12ac097b47740d35632282496e9905133e3dbada
1 parent
a123c470
perf: vxe
Showing
2 changed files
with
2 additions
and
1 deletions
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
| ... | ... | @@ -114,7 +114,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { |
| 114 | 114 | const searchSchema: VxeFormItemProps[] = [] |
| 115 | 115 | eachTree(crudSchema.columns, (schemaItem: VxeCrudColumns) => { |
| 116 | 116 | // 判断是否显示 |
| 117 | - if (schemaItem?.isSearch) { | |
| 117 | + if (schemaItem?.isSearch || schemaItem.search?.show) { | |
| 118 | 118 | let itemRenderName = schemaItem?.search?.itemRender?.name || '$input' |
| 119 | 119 | const options: any[] = [] |
| 120 | 120 | let itemRender: FormItemRenderOptions = { | ... | ... |
yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts