From 540d1f16208f7fa2837a3f64de4cbe501bde2dd5 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 23 May 2022 23:19:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/datasource/DsForm.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/system/datasource/DsForm.vue b/frontend/src/views/system/datasource/DsForm.vue index 6b3dac9d93..ec3acf665c 100644 --- a/frontend/src/views/system/datasource/DsForm.vue +++ b/frontend/src/views/system/datasource/DsForm.vue @@ -136,7 +136,8 @@ export default { maxIdleTime: 30, acquireIncrement: 5, idleConnectionTestPeriod: 5, - connectTimeout: 5 + connectTimeout: 5, + customDriver: '' }, apiConfiguration: [] }, @@ -528,7 +529,8 @@ export default { this.datasourceType = this.dsTypes[i] if(this.datasourceType.isJdbc){ listDriverByType(this.datasourceType.type).then(res => { - this.driverList = [{id: 'default', name: 'Default', driverClass:'Default'}] + this.driverList = [] + this.driverList.push({id: 'default', name: 'Default', driverClass:'Default'}) this.driverList = this.driverList.concat(res.data) }) }