forked from github/dataease
refactor: 调整顺序
This commit is contained in:
parent
71dc641459
commit
540d1f1620
@ -136,7 +136,8 @@ export default {
|
|||||||
maxIdleTime: 30,
|
maxIdleTime: 30,
|
||||||
acquireIncrement: 5,
|
acquireIncrement: 5,
|
||||||
idleConnectionTestPeriod: 5,
|
idleConnectionTestPeriod: 5,
|
||||||
connectTimeout: 5
|
connectTimeout: 5,
|
||||||
|
customDriver: ''
|
||||||
},
|
},
|
||||||
apiConfiguration: []
|
apiConfiguration: []
|
||||||
},
|
},
|
||||||
@ -528,7 +529,8 @@ export default {
|
|||||||
this.datasourceType = this.dsTypes[i]
|
this.datasourceType = this.dsTypes[i]
|
||||||
if(this.datasourceType.isJdbc){
|
if(this.datasourceType.isJdbc){
|
||||||
listDriverByType(this.datasourceType.type).then(res => {
|
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)
|
this.driverList = this.driverList.concat(res.data)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user