forked from github/dataease
Merge pull request #8348 from dataease/pr@dev-v2_mobile_fix
fix(系统设置): 引擎设置缺少参数
This commit is contained in:
commit
6a8fa05f07
@ -48,21 +48,7 @@ const templateList = ref<SettingRecord[]>([])
|
||||
const templateListTime = ref<SettingRecord[]>([])
|
||||
const getEngine = () => {
|
||||
getDeEngine().then(res => {
|
||||
let {
|
||||
name,
|
||||
createBy,
|
||||
id,
|
||||
createTime,
|
||||
creator,
|
||||
type,
|
||||
pid,
|
||||
configuration,
|
||||
syncSetting,
|
||||
fileName,
|
||||
size,
|
||||
description,
|
||||
lastSyncTime
|
||||
} = res.data
|
||||
let { id, type, configuration } = res.data
|
||||
if (configuration) {
|
||||
configuration = JSON.parse(configuration)
|
||||
}
|
||||
@ -129,7 +115,7 @@ const getEngine = () => {
|
||||
},
|
||||
{
|
||||
pkey: 'datasource.extra_params',
|
||||
pval: configuration?.extra_params,
|
||||
pval: configuration?.extraParams,
|
||||
type: '',
|
||||
sort: 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user