Fix ORACLE service name value display

This commit is contained in:
break60 2020-05-27 17:33:31 +08:00
parent fa9706f63a
commit 198cf3d45a

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)