File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/views/infra/codegen/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 52
52
import { VxeTableInstance } from ' vxe-table'
53
53
import type { DatabaseTableVO } from ' @/api/infra/codegen/types'
54
54
import { getSchemaTableListApi , createCodegenListApi } from ' @/api/infra/codegen'
55
- import { getDataSourceConfigListApi , DataSourceConfigVO } from ' @/api/infra/dataSourceConfig'
55
+ import { getDataSourceConfigList , DataSourceConfigVO } from ' @/api/infra/dataSourceConfig'
56
56
57
57
const { t } = useI18n () // 国际化
58
58
const message = useMessage () // 消息弹窗
@@ -67,9 +67,9 @@ const queryParams = reactive({
67
67
})
68
68
const dataSourceConfigs = ref <DataSourceConfigVO []>([])
69
69
const show = async () => {
70
- const res = await getDataSourceConfigListApi ()
70
+ const res = await getDataSourceConfigList ()
71
71
dataSourceConfigs .value = res
72
- queryParams .dataSourceConfigId = dataSourceConfigs .value [0 ].id
72
+ queryParams .dataSourceConfigId = dataSourceConfigs .value [0 ].id as number
73
73
visible .value = true
74
74
await getList ()
75
75
}
You can’t perform that action at this time.
0 commit comments