Browse Source

[Feature][UI] Enable highlight and auto-complete for SQL scripts (#11659)

3.1.0-release
Eric Gao 2 years ago committed by GitHub
parent
commit
23d8aaf735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts

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

@ -43,6 +43,9 @@ export function useSql(model: { [field: string]: any }): IJsonItem[] {
trigger: ['input', 'trigger'], trigger: ['input', 'trigger'],
required: true, required: true,
message: t('project.node.sql_empty_tips') message: t('project.node.sql_empty_tips')
},
props: {
language: 'sql'
} }
}, },
useUdfs(model), useUdfs(model),

Loading…
Cancel
Save