From 198cf3d45a1f977f0d4e99375a4e84c85e9e5f81 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Wed, 27 May 2020 17:33:31 +0800 Subject: [PATCH] Fix ORACLE service name value display --- .../datasource/pages/list/_source/createDataSource.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue index db99d00a0c..0d05205d28 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue @@ -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)