feat(fend): skeleton components
This commit is contained in:
parent
3c6a31f86b
commit
608d863c88
18 changed files with 395 additions and 77 deletions
|
|
@ -62,7 +62,8 @@ function parseOptions(field: any): SelectOption[] {
|
|||
|
||||
function parseField(raw: any): FieldDef {
|
||||
const base = {
|
||||
label: raw['@_label']
|
||||
label: raw['@_label'],
|
||||
...(raw['@_required'] === 'true' && { required: true })
|
||||
};
|
||||
const type = raw['@_type'];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue