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
33a9b5af
authored
Mar 21, 2023
by
lour6498
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(数据源配置): 页面api未同步修改
parent
812300cc
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 @
33a9b5af
...
@@ -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
()
// 消息弹窗
...
@@ -63,11 +63,11 @@ const dbLoading = ref(true)
...
@@ -63,11 +63,11 @@ const dbLoading = ref(true)
const
queryParams
=
reactive
({
const
queryParams
=
reactive
({
name
:
undefined
,
name
:
undefined
,
comment
:
undefined
,
comment
:
undefined
,
dataSourceConfigId
:
0
dataSourceConfigId
:
0
as
number
|
undefined
})
})
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
visible
.
value
=
true
visible
.
value
=
true
...
...
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