fix(系统设置): 数据库配置oracle驱动,默认生成的数据库连接URL不对

--bug=1010933 --user=李玉号
【系统设置】github#11245,环境配置-数据库配置-oracle驱动,默认生成的数据库连接URL不对,ip 前少了个 @
https://www.tapd.cn/55049933/s/1114988

Closes #11245
This commit is contained in:
shiziyuan9527 2022-03-08 11:43:50 +08:00 committed by 刘瑞斌
parent e9dfddd8c5
commit 5fe166716f
2 changed files with 2 additions and 2 deletions

View File

@ -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";
}
},
}

View File

@ -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";
}
},
}