This is an automated email from the ASF dual-hosted git repository.
chenxingchun pushed a commit to branch dev-1.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev-1.3.0 by this push:
new 198cf3d Fix ORACLE service name value display
new a405bbe Merge pull request #2829 from break60/dev-1.3.0
198cf3d is described below
commit 198cf3d45a1f977f0d4e99375a4e84c85e9e5f81
Author: break60 <[email protected]>
AuthorDate: Wed May 27 17:33:31 2020 +0800
Fix ORACLE service name value display
---
.../home/pages/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 db99d00..0d05205 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)