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 templateListTime = ref<SettingRecord[]>([])
|
||||||
const getEngine = () => {
|
const getEngine = () => {
|
||||||
getDeEngine().then(res => {
|
getDeEngine().then(res => {
|
||||||
let {
|
let { id, type, configuration } = res.data
|
||||||
name,
|
|
||||||
createBy,
|
|
||||||
id,
|
|
||||||
createTime,
|
|
||||||
creator,
|
|
||||||
type,
|
|
||||||
pid,
|
|
||||||
configuration,
|
|
||||||
syncSetting,
|
|
||||||
fileName,
|
|
||||||
size,
|
|
||||||
description,
|
|
||||||
lastSyncTime
|
|
||||||
} = res.data
|
|
||||||
if (configuration) {
|
if (configuration) {
|
||||||
configuration = JSON.parse(configuration)
|
configuration = JSON.parse(configuration)
|
||||||
}
|
}
|
||||||
@ -129,7 +115,7 @@ const getEngine = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
pkey: 'datasource.extra_params',
|
pkey: 'datasource.extra_params',
|
||||||
pval: configuration?.extra_params,
|
pval: configuration?.extraParams,
|
||||||
type: '',
|
type: '',
|
||||||
sort: 0
|
sort: 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user