fix: #481
This commit is contained in:
parent
9f98b7be26
commit
c77586c567
|
@ -80,6 +80,9 @@ const filterSearchSchema = (crudSchema: CrudSchema[]): FormSchema[] => {
|
||||||
|
|
||||||
for (let i = 0; i < length; i++) {
|
for (let i = 0; i < length; i++) {
|
||||||
const schemaItem = crudSchema[i]
|
const schemaItem = crudSchema[i]
|
||||||
|
if (schemaItem.search?.hidden === true) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
// 判断是否隐藏
|
// 判断是否隐藏
|
||||||
const searchSchemaItem = {
|
const searchSchemaItem = {
|
||||||
component: schemaItem?.search?.component || 'Input',
|
component: schemaItem?.search?.component || 'Input',
|
||||||
|
|
Loading…
Reference in New Issue