fix(系统设置): 引擎设置缺少参数

This commit is contained in:
dataeaseShu 2024-03-05 16:41:30 +08:00
parent 6dbbd0aaa1
commit bea95569dd

View File

@ -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
}