Merge pull request #8348 from dataease/pr@dev-v2_mobile_fix

fix(系统设置): 引擎设置缺少参数
This commit is contained in:
dataeaseShu 2024-03-05 16:42:47 +08:00 committed by GitHub
commit 6a8fa05f07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}