Merge pull request #2829 from break60/dev-1.3.0

Fix ORACLE service name value display
This commit is contained in:
xingchun-chen 2020-05-27 17:58:12 +08:00 committed by GitHub
commit a405bbec5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -429,14 +429,14 @@
this.showdDatabase = false;
}
if (value== 'ORACLE') {
if (value== 'ORACLE' && !this.item.id) {
this.showConnectType = true;
this.connectType = 'ORACLE_SERVICE_NAME'
} else if(value== 'ORACLE' && this.item.id) {
this.showConnectType = true;
} else {
this.showConnectType = false;
this.connectType = ''
}
//Set default port for each type datasource
this._setDefaultValues(value)