Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
883f5933
authored
2026-01-13 16:53:28 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
api保存时冗余传递表中文
1 parent
5b9c70eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/views/data_service/apiCreate.vue
src/views/data_service/apiCreate.vue
View file @
883f593
...
...
@@ -2528,6 +2528,9 @@ const startTestApi = () => {
/** 提交新增API. */
const
save
=
(
isSubmit
:
boolean
=
false
)
=>
{
let
params
=
{
isSubmit
:
isSubmit
?
'Y'
:
'N'
,
...
baseInfoFormRef
.
value
?.
formInline
,
...
tableInfoFormRef
.
value
?.
formInline
,
dataSourceType
:
1
,
dataSourceName
:
currDsInfo
.
value
.
databaseNameZh
,
requestAgreement
:
'https'
};
if
(
params
.
tableName
)
{
params
.
tableNameCh
=
dsTableList
.
value
.
find
(
d
=>
d
.
value
==
params
.
tableName
)?.
tableComment
||
params
.
tableName
;
}
params
.
immediateApprove
=
isSubmit
// if (params.apiType == '1') {
// if (params.dataSourceType == 2) {
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment