@@ -8,6 +8,7 @@ import dm from '@/assets/datasource/icon_dm.png'
88import doris from '@/assets/datasource/icon_doris.png'
99import redshift from '@/assets/datasource/icon_redshift.png'
1010import es from '@/assets/datasource/icon_es.png'
11+ import kingbase from '@/assets/datasource/icon_kingbase.png'
1112import { i18n } from '@/i18n'
1213
1314const 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
2729export 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