|
@ -81,7 +81,7 @@ export default { |
|
|
|
|
|
|
|
|
if (templateResult && templateResult != item.key) return templateResult |
|
|
if (templateResult && templateResult != item.key) return templateResult |
|
|
|
|
|
|
|
|
return result |
|
|
return result || item.text; |
|
|
}, |
|
|
}, |
|
|
getComponent(type) { |
|
|
getComponent(type) { |
|
|
return `Form${type.replace(/^[a-z]/, word => word.toUpperCase())}` |
|
|
return `Form${type.replace(/^[a-z]/, word => word.toUpperCase())}` |
|
|