| | |
| | | } else if (form.key === 'field' && type === 'text') { |
| | | form.tooltip = this.state.textTooltip |
| | | } else if (form.key === 'field' && type === 'group') { |
| | | form.label = dict['header.form.type'] + dict['model.form.field'] |
| | | form.label = dict['model.form.type'] + dict['model.form.field'] |
| | | } |
| | | form.hidden = !_options.includes(form.key) |
| | | return form |
| | |
| | | if (value === 'text') { |
| | | form.tooltip = this.state.textTooltip |
| | | } else if (value === 'group') { |
| | | form.label = dict['header.form.type'] + dict['model.form.field'] |
| | | form.label = dict['model.form.type'] + dict['model.form.field'] |
| | | } |
| | | } |
| | | |