This commit is contained in:
qsh
2024-06-11 20:29:30 +08:00
parent 5b3e02b447
commit e35a32e985
12 changed files with 233 additions and 141 deletions

View File

@@ -119,7 +119,8 @@ const filterSearchSchema = (crudSchema: CrudSchema[], allSchemas: AllSchemas): F
componentProps: comonentProps,
...schemaItem.search,
field: schemaItem.field,
label: schemaItem.search?.label || schemaItem.label
label: schemaItem.search?.label || schemaItem.label,
id: schemaItem.clueParamId
}
if (searchSchemaItem.api) {
searchRequestTask.push(async () => {
@@ -165,7 +166,8 @@ const filterTableSchema = (crudSchema: CrudSchema[]): TableColumn[] => {
}
return {
...schema.table,
...schema
...schema,
id: schema.clueParamId
}
}
}