Browse Source

[Improvement-13884][UI] Improve the UI of flink sql task (#13885)

Rick Cheng 2 years ago
parent
commit
1b6dbde470

+ 3 - 0
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts

@@ -165,6 +165,9 @@ export function useFlink(model: { [field: string]: any }): IJsonItem[] {
       field: 'rawScript',
       span: scriptSpan,
       name: t('project.node.script'),
+      props: {
+        language: 'sql'
+      },
       validate: {
         trigger: ['input', 'trigger'],
         required: true,