Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8bd47446
authored
Mar 23, 2023
by
xingyuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: api error
parent
9edd3c5f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/views/infra/codegen/components/ImportTable.vue
+3
-3
No files found.
src/views/infra/codegen/components/ImportTable.vue
View file @
8bd47446
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
import
{
VxeTableInstance
}
from
'vxe-table'
import
{
VxeTableInstance
}
from
'vxe-table'
import
type
{
DatabaseTableVO
}
from
'@/api/infra/codegen/types'
import
type
{
DatabaseTableVO
}
from
'@/api/infra/codegen/types'
import
{
getSchemaTableListApi
,
createCodegenListApi
}
from
'@/api/infra/codegen'
import
{
getSchemaTableListApi
,
createCodegenListApi
}
from
'@/api/infra/codegen'
import
{
getDataSourceConfigList
Api
,
DataSourceConfigVO
}
from
'@/api/infra/dataSourceConfig'
import
{
getDataSourceConfigList
,
DataSourceConfigVO
}
from
'@/api/infra/dataSourceConfig'
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
...
@@ -67,9 +67,9 @@ const queryParams = reactive({
...
@@ -67,9 +67,9 @@ const queryParams = reactive({
})
})
const
dataSourceConfigs
=
ref
<
DataSourceConfigVO
[]
>
([])
const
dataSourceConfigs
=
ref
<
DataSourceConfigVO
[]
>
([])
const
show
=
async
()
=>
{
const
show
=
async
()
=>
{
const
res
=
await
getDataSourceConfigList
Api
()
const
res
=
await
getDataSourceConfigList
()
dataSourceConfigs
.
value
=
res
dataSourceConfigs
.
value
=
res
queryParams
.
dataSourceConfigId
=
dataSourceConfigs
.
value
[
0
].
id
queryParams
.
dataSourceConfigId
=
dataSourceConfigs
.
value
[
0
].
id
as
number
visible
.
value
=
true
visible
.
value
=
true
await
getList
()
await
getList
()
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment