|
|
@ -28,7 +28,9 @@ export function useProcedure(model: { [field: string]: any }): IJsonItem[] { |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
language: 'sql', |
|
|
|
language: 'sql', |
|
|
|
placeholder: t('project.node.procedure_method_tips'), |
|
|
|
placeholder: t('project.node.procedure_method_tips'), |
|
|
|
defaultValue: model.method? model.method : t('project.node.procedure_method_snippet') |
|
|
|
defaultValue: model.method |
|
|
|
|
|
|
|
? model.method |
|
|
|
|
|
|
|
: t('project.node.procedure_method_snippet') |
|
|
|
}, |
|
|
|
}, |
|
|
|
validate: { |
|
|
|
validate: { |
|
|
|
trigger: ['input', 'trigger'], |
|
|
|
trigger: ['input', 'trigger'], |
|
|
|