fix: #481
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user