Skip to content

Commit 23d8aaf

Browse files
authored
[Feature][UI] Enable highlight and auto-complete for SQL scripts (#11659)
1 parent cccbd27 commit 23d8aaf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • dolphinscheduler-ui/src/views/projects/task/components/node/fields

dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ export function useSql(model: { [field: string]: any }): IJsonItem[] {
4343
trigger: ['input', 'trigger'],
4444
required: true,
4545
message: t('project.node.sql_empty_tips')
46+
},
47+
props: {
48+
language: 'sql'
4649
}
4750
},
4851
useUdfs(model),

0 commit comments

Comments
 (0)