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

This commit is contained in:
Eric Gao 2022-08-26 19:03:44 +08:00 committed by GitHub
parent cccbd27c58
commit 23d8aaf735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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