|
|
@ -294,11 +294,9 @@ onMounted(async () => { |
|
|
|
.filter(([key]) => !definedParameters.includes(key)) |
|
|
|
.filter(([key]) => !definedParameters.includes(key)) |
|
|
|
.map(([key, value]) => ({ key: key as string, value: value as string })) |
|
|
|
.map(([key, value]) => ({ key: key as string, value: value as string })) |
|
|
|
|
|
|
|
|
|
|
|
const client = activeBase.config?.client || activeBase.config?.connection?.client |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
formState.value = { |
|
|
|
formState.value = { |
|
|
|
title: activeBase.alias || '', |
|
|
|
title: activeBase.alias || '', |
|
|
|
dataSource: { client, connection: {}, ...(activeBase.config || {}), searchPath: activeBase.config?.searchPath || [] }, |
|
|
|
dataSource: { connection: {}, ...(activeBase.config || {}), searchPath: activeBase.config?.searchPath || [] }, |
|
|
|
inflection: { |
|
|
|
inflection: { |
|
|
|
inflectionColumn: activeBase.inflection_column, |
|
|
|
inflectionColumn: activeBase.inflection_column, |
|
|
|
inflectionTable: activeBase.inflection_table, |
|
|
|
inflectionTable: activeBase.inflection_table, |
|
|
|