From 5fe166716fc65c6b73ba38ae78c5ab82f46a3d35 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 8 Mar 2022 11:43:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AEoracle=E9=A9=B1?= =?UTF-8?q?=E5=8A=A8=EF=BC=8C=E9=BB=98=E8=AE=A4=E7=94=9F=E6=88=90=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5URL=E4=B8=8D?= =?UTF-8?q?=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010933 --user=李玉号 【系统设置】github#11245,环境配置-数据库配置-oracle驱动,默认生成的数据库连接URL不对,ip 前少了个 @ https://www.tapd.cn/55049933/s/1114988 Closes #11245 --- .../api/definition/components/request/database/DatabaseFrom.vue | 2 +- .../api/test/components/request/database/DatabaseFrom.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/request/database/DatabaseFrom.vue b/frontend/src/business/components/api/definition/components/request/database/DatabaseFrom.vue index d5cfe7bcba..67bbe8ceff 100644 --- a/frontend/src/business/components/api/definition/components/request/database/DatabaseFrom.vue +++ b/frontend/src/business/components/api/definition/components/request/database/DatabaseFrom.vue @@ -141,7 +141,7 @@ }else if(type === "org.postgresql.Driver"){ this.currentConfig.dbUrl = "jdbc:postgresql://127.0.0.1:5432/database"; }else if(type === "oracle.jdbc.OracleDriver"){ - this.currentConfig.dbUrl = "jdbc:oracle:thin:192.168.2.1:1521:database"; + this.currentConfig.dbUrl = "jdbc:oracle:thin:@192.168.2.1:1521:database"; } }, } diff --git a/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue b/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue index b8acbda53a..da59cfecfe 100644 --- a/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue +++ b/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue @@ -148,7 +148,7 @@ export default { }else if(type === "org.postgresql.Driver"){ this.currentConfig.dbUrl = "jdbc:postgresql://127.0.0.1:5432/database"; }else if(type === "oracle.jdbc.OracleDriver"){ - this.currentConfig.dbUrl = "jdbc:oracle:thin:192.168.2.1:1521:database"; + this.currentConfig.dbUrl = "jdbc:oracle:thin:@192.168.2.1:1521:database"; } }, }