mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 15:48:06 +00:00
fix: list fields
This commit is contained in:
parent
591c061f18
commit
c78a132164
@ -270,6 +270,9 @@ export class Collection<
|
||||
return this.fields.get(name);
|
||||
}
|
||||
|
||||
getFields() {
|
||||
return [...this.fields.values()];
|
||||
}
|
||||
addField(name: string, options: FieldOptions): Field {
|
||||
return this.setField(name, options);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user