File tree Expand file tree Collapse file tree
chat2db-client/src/components/ConnectionEdit/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -450,8 +450,8 @@ export const dataSourceFormConfigs: IConnectionConfig[] = [
450450 } ,
451451 } ] ,
452452 onChange : ( data : IConnectionConfig ) => {
453- data . baseInfo . pattern = / j d b c : o r a c l e : ( .* ) : @ \/ \/ ( .* ) : ( \d + ) : ( .* ) / ;
454- data . baseInfo . template = 'jdbc:oracle:{driver}:@//{host}:{port}: {serviceName}' ;
453+ data . baseInfo . pattern = / j d b c : o r a c l e : ( .* ) : @ \/ \/ ( .* ) : ( \d + ) \/ ( .* ) / ;
454+ data . baseInfo . template = 'jdbc:oracle:{driver}:@//{host}:{port}/ {serviceName}' ;
455455 return data
456456 }
457457 } ,
@@ -470,15 +470,17 @@ export const dataSourceFormConfigs: IConnectionConfig[] = [
470470 labelTextAlign : 'right' ,
471471 selects : [
472472 {
473- value : 'thin' ,
473+ value : 'THIN' ,
474+ label : 'thin' ,
474475 } ,
475476 {
476-
477- value : 'oci' ,
477+ value : 'OCI' ,
478+ label : 'oci' ,
478479 } ,
479480 {
480481
481- value : 'oci8' ,
482+ value : 'OCI8' ,
483+ label : 'oci8' ,
482484 } ,
483485 ] ,
484486 styles : {
You can’t perform that action at this time.
0 commit comments