Skip to content

Commit 213d318

Browse files
committed
feat: support kingbase datasource
1 parent 330fd2d commit 213d318

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
24.2 KB
Loading

frontend/src/views/ds/js/ds-type.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import dm from '@/assets/datasource/icon_dm.png'
88
import doris from '@/assets/datasource/icon_doris.png'
99
import redshift from '@/assets/datasource/icon_redshift.png'
1010
import es from '@/assets/datasource/icon_es.png'
11+
import kingbase from '@/assets/datasource/icon_kingbase.png'
1112
import { i18n } from '@/i18n'
1213

1314
const t = i18n.global.t
@@ -22,6 +23,7 @@ export const dsType = [
2223
{ label: 'Apache Doris', value: 'doris' },
2324
{ label: 'AWS Redshift', value: 'redshift' },
2425
{ label: 'Elasticsearch', value: 'es' },
26+
{ label: 'Kingbase', value: 'kingbase' },
2527
]
2628

2729
export const dsTypeWithImg = [
@@ -35,6 +37,7 @@ export const dsTypeWithImg = [
3537
{ name: 'Apache Doris', type: 'doris', img: doris },
3638
{ name: 'AWS Redshift', type: 'redshift', img: redshift },
3739
{ name: 'Elasticsearch', type: 'es', img: es },
40+
{ name: 'Kingbase', type: 'kingbase', img: kingbase },
3841
]
3942

40-
export const haveSchema = ['sqlServer', 'pg', 'oracle', 'dm', 'redshift']
43+
export const haveSchema = ['sqlServer', 'pg', 'oracle', 'dm', 'redshift', 'kingbase']

0 commit comments

Comments
 (0)