Browse Source

Fix ORACLE service name value display

pull/3/MERGE
break60 5 years ago
parent
commit
198cf3d45a
  1. 6
      dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue

6
dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue

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

Loading…
Cancel
Save