mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
fix: 设置超时时间
This commit is contained in:
@@ -297,7 +297,8 @@ export default {
|
||||
acquireIncrement: 5,
|
||||
idleConnectionTestPeriod: 5,
|
||||
connectTimeout: 5,
|
||||
customDriver: 'default'
|
||||
customDriver: 'default',
|
||||
queryTimeout: 30
|
||||
}
|
||||
},
|
||||
changeEdit() {
|
||||
@@ -318,6 +319,9 @@ export default {
|
||||
|
||||
} else {
|
||||
this.form.configuration = JSON.parse(this.form.configuration)
|
||||
if(this.form.configuration.queryTimeout === undefined){
|
||||
this.form.configuration.queryTimeout = 30
|
||||
}
|
||||
}
|
||||
this.disabled = this.params && this.params.id && this.params.showModel && this.params.showModel === 'show' && !this.canEdit
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user