|
@@ -114,7 +114,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => {
|
|
|
const searchSchema: VxeFormItemProps[] = []
|
|
|
eachTree(crudSchema.columns, (schemaItem: VxeCrudColumns) => {
|
|
|
// 判断是否显示
|
|
|
- if (schemaItem?.isSearch) {
|
|
|
+ if (schemaItem?.isSearch || schemaItem.search?.show) {
|
|
|
let itemRenderName = schemaItem?.search?.itemRender?.name || '$input'
|
|
|
const options: any[] = []
|
|
|
let itemRender: FormItemRenderOptions = {
|